diff options
| author | grunfink <grunfink@comam.es> | 2026-08-30 08:03:22 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-08-30 08:03:22 +0200 |
| commit | eea4e1fbce6915c598a0a2211a88f7389c47c0a2 (patch) | |
| tree | bc8c7eacde1e30036c3673a9adf6e456413dce6f | |
| parent | 669b86ce65115b1ded72dbc9674b5842196d1475 (diff) | |
Fixed a bug in Undo + EmojiReact.
| -rw-r--r-- | activitypub.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c index bb6de13..4d1a449 100644 --- a/activitypub.c +++ b/activitypub.c @@ -2836,10 +2836,9 @@ int process_input_message(snac *snac, const xs_dict *msg, const xs_dict *req) } /* *key emojis are like w/ Emoji tag */ else - if ((isEmoji || strcmp(utype, "EmojiReact") == 0) && - (content && strcmp(content, "♥") != 0)) { + if (isEmoji || strcmp(utype, "EmojiReact") == 0) { const xs_val *mid = xs_dict_get(object, "id"); - int status = object_rm_emoji_react((char *)id, mid); + int status = object_rm_emoji_react(id, mid); /* ensure *key notifications type */ utype = "EmojiReact"; |