mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +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
Notes:
sideshowbarker
2024-07-19 07:44:49 +09:00
Author: https://github.com/bcoles
Commit: 63f8cbfb56
Pull-request: https://github.com/SerenityOS/serenity/pull/1728
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