summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/IRCQuery.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-03-26 20:11:23 +0100
committerAndreas Kling <kling@serenityos.org>2020-03-26 20:11:23 +0100
commit163812df976b0186b9a4ac75e3cd7dfe91438ba5 (patch)
treeb3f8b2a393d7a69a0ae3b27bbea4f8003b457950 /Applications/IRCClient/IRCQuery.cpp
parent96c7e2cd6d439c7eca9dc1bd31fbb8d80b93af1d (diff)
downloadserenity-163812df976b0186b9a4ac75e3cd7dfe91438ba5.zip
IRCClient: Post desktop notifications when messaged while inactive
If you receive a channel or query message while the app is inactive, or while the channel/query is inactive, we now post a desktop notification so you can learn that something is happening. :^)
Diffstat (limited to 'Applications/IRCClient/IRCQuery.cpp')
-rw-r--r--Applications/IRCClient/IRCQuery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/IRCClient/IRCQuery.cpp b/Applications/IRCClient/IRCQuery.cpp
index a8492b9561..abf3df68c2 100644
--- a/Applications/IRCClient/IRCQuery.cpp
+++ b/Applications/IRCClient/IRCQuery.cpp
@@ -56,7 +56,7 @@ void IRCQuery::dump() const
void IRCQuery::add_message(char prefix, const String& name, const String& text, Color color)
{
log().add_message(prefix, name, text, color);
- window().did_add_message();
+ window().did_add_message(name, text);
}
void IRCQuery::say(const String& text)