mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-20 14:44:43 +00:00
IRCClient: Add a little "(n)" indicator to window list for unread messages.
This commit is contained in:
@@ -237,8 +237,10 @@ void IRCClient::handle(const Message& msg, const String&)
|
||||
if (msg.command == "PRIVMSG")
|
||||
return handle_privmsg(msg);
|
||||
|
||||
if (msg.arguments.size() >= 2)
|
||||
if (msg.arguments.size() >= 2) {
|
||||
m_log->add_message(0, "Server", String::format("[%s] %s", msg.command.characters(), msg.arguments[1].characters()));
|
||||
m_server_subwindow->did_add_message();
|
||||
}
|
||||
}
|
||||
|
||||
void IRCClient::send_privmsg(const String& target, const String& text)
|
||||
|
||||
Reference in New Issue
Block a user