commit eea4e1f

grunfink  ·  2026-08-30 06:03:22 +0000 UTC
parent 669b86c
Fixed a bug in Undo + EmojiReact.
1 files changed,  +2, -3
+2, -3
 1@@ -2836,10 +2836,9 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req)
 2         }
 3         /* *key emojis are like w/ Emoji tag */
 4         else
 5-        if ((isEmoji || strcmp(utype, "EmojiReact") == 0) &&
 6-                (content && strcmp(content, "♥") != 0)) {
 7+        if (isEmoji || strcmp(utype, "EmojiReact") == 0) {
 8             const xs_val *mid = xs_dict_get(object, "id");
 9-            int status = object_rm_emoji_react((char *)id, mid);
10+            int status = object_rm_emoji_react(id, mid);
11             /* ensure *key notifications type */
12             utype = "EmojiReact";
13