mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:37:35 +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
|
@ -57,7 +57,7 @@ public:
|
|||
int unread_count() const;
|
||||
void clear_unread_count();
|
||||
|
||||
void did_add_message();
|
||||
void did_add_message(const String& name = {}, const String& message = {});
|
||||
|
||||
IRCChannel& channel() { return *(IRCChannel*)m_owner; }
|
||||
const IRCChannel& channel() const { return *(const IRCChannel*)m_owner; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue