mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:38:13 +00:00
IRCClient: Add NotifyOnMessage/NotifyOnMention config options
Allow IRCClient user to opt out of notifications.
This commit is contained in:
parent
070a8f2689
commit
63f8cbfb56
4 changed files with 17 additions and 1 deletions
|
@ -63,6 +63,9 @@ public:
|
|||
bool show_join_part_messages() const { return m_show_join_part_messages; }
|
||||
bool show_nick_change_messages() const { return m_show_nick_change_messages; }
|
||||
|
||||
bool notify_on_message() const { return m_notify_on_message; }
|
||||
bool notify_on_mention() const { return m_notify_on_mention; }
|
||||
|
||||
void join_channel(const String&);
|
||||
void part_channel(const String&);
|
||||
void change_nick(const String&);
|
||||
|
@ -214,6 +217,9 @@ private:
|
|||
bool m_show_join_part_messages { 1 };
|
||||
bool m_show_nick_change_messages { 1 };
|
||||
|
||||
bool m_notify_on_message { 1 };
|
||||
bool m_notify_on_mention { 1 };
|
||||
|
||||
String m_ctcp_version_reply;
|
||||
String m_ctcp_userinfo_reply;
|
||||
String m_ctcp_finger_reply;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue