mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
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. :^)
This commit is contained in:
parent
96c7e2cd6d
commit
163812df97
4 changed files with 25 additions and 4 deletions
|
@ -69,7 +69,7 @@ void IRCChannel::remove_member(const String& name)
|
|||
void IRCChannel::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 IRCChannel::add_message(const String& text, Color color)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue