diff options
| author | grunfink <grunfink@comam.es> | 2026-08-30 07:43:18 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-08-30 07:43:18 +0200 |
| commit | 748b578c96bb5d6c3b372d533bc374e2fb918348 (patch) | |
| tree | 2f028c9c46a722eee07a54624a14d6d96163dadc /html.c | |
| parent | f6f18197c72a38bf2e5de092873d46af7c8e04b7 (diff) | |
Fixed EmojiReact code to allow any emoticon in emojis.json, not only those with colon-wrapped ids.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -5727,8 +5727,6 @@ int html_post_handler(const xs_dict *req, const char *q_path, if (strcmp(action, L("EmojiReact")) == 0) { /** **/ xs *eid = xs_dup(xs_dict_get(p_vars, "eid")); - eid = xs_strip_chars_i(eid, ":"); - xs *ret = msg_emoji_init(&snac, id, eid); /* fails if either invalid or already reacted */ if (!ret) { |