1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:37:46 +00:00

IRCClient: Add channel member context menus for common CTCP requests

Add menu items for CTCP: USERINFO, FINGER, TIME, VERSION, CLIENTINFO
This commit is contained in:
Brendan Coles 2020-04-11 08:23:03 +00:00 committed by Andreas Kling
parent 3b21c4aa56
commit 502299919a
3 changed files with 54 additions and 0 deletions

View file

@ -113,6 +113,7 @@ public:
void handle_list_channels_action();
void handle_whois_action(const String& nick);
void handle_ctcp_user_action(const String& nick, const String& message);
void handle_open_query_action(const String&);
void handle_close_query_action(const String&);
void handle_join_action(const String& channel_name);
@ -200,6 +201,7 @@ private:
void handle_user_command(const String&);
void handle_ctcp_request(const StringView& peer, const StringView& payload);
void handle_ctcp_response(const StringView& peer, const StringView& payload);
void send_ctcp_request(const StringView& peer, const StringView& payload);
void send_ctcp_response(const StringView& peer, const StringView& payload);
void on_socket_connected();