In a threaded message list view, do you want the root message representing a collapsed thread to look like an unread message if it contains unread messages and like a flagged message if it contains flagged messages?
http://trac.roundcube.net/attachment/ticket/1486701/thread-flags-ticket-1486...
List info: http://lists.roundcube.net/users/