IRCClient: Add a little "(n)" indicator to window list for unread messages.

This commit is contained in:
Andreas Kling
2019-03-16 02:14:53 +01:00
parent 1394677528
commit b4f787090c
9 changed files with 68 additions and 14 deletions

View File

@@ -29,6 +29,7 @@ void IRCQuery::dump() const
void IRCQuery::add_message(char prefix, const String& name, const String& text)
{
window().did_add_message();
log().add_message(prefix, name, text);
dump();
}