--- a/src/spasm-chat.c Mon Feb 28 23:13:49 2022 -0600
+++ b/src/spasm-chat.c Sun Mar 13 23:27:48 2022 -0500
@@ -344,8 +344,8 @@
purple_find_conversation_with_account(PURPLE_CONV_TYPE_CHAT,
- if(purple_strequal(command, "NOTICE")) {
- flags |= PURPLE_MESSAGE_NOTIFY;
+ if(purple_strequal(command, "NOTICE") || purple_strequal(command, "USERNOTICE")) { + flags |= PURPLE_MESSAGE_NOTIFY | PURPLE_MESSAGE_SYSTEM; if(conversation != NULL) {
@@ -400,6 +400,8 @@
g_hash_table_insert(handlers, "PING", spasm_chat_service_handle_ping);
g_hash_table_insert(handlers, "PRIVMSG",
spasm_chat_service_handle_privmsg);
+ g_hash_table_insert(handlers, "USERNOTICE", + spasm_chat_service_handle_privmsg);