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
commit b4f787090c
Notes: sideshowbarker 2024-07-19 15:02:02 +09:00
9 changed files with 68 additions and 14 deletions

View file

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