1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:47:35 +00:00

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

@ -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();
}