diff options
| author | 2025-03-24 12:47:15 +0100 | |
|---|---|---|
| committer | 2025-04-13 14:41:07 +0200 | |
| commit | 4408859f8dcb8f83670d75f1128e1120ea318ec9 (patch) | |
| tree | 4ab29ea94660b860ec1864691de3cdc4087e4ba4 | |
| parent | EmojiReact notifications show up as emojis (diff) | |
| download | snac2-4408859f8dcb8f83670d75f1128e1120ea318ec9.tar.gz snac2-4408859f8dcb8f83670d75f1128e1120ea318ec9.tar.xz snac2-4408859f8dcb8f83670d75f1128e1120ea318ec9.zip | |
also display the emoji for likes
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -3362,7 +3362,7 @@ xs_str *html_notifications(snac *user, int skip, int show) | |||
| 3362 | if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") == 0) | 3362 | if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") == 0) |
| 3363 | label = L("Unfollow"); | 3363 | label = L("Unfollow"); |
| 3364 | else | 3364 | else |
| 3365 | if (strcmp(type, "EmojiReact") == 0) { | 3365 | if (strcmp(type, "EmojiReact") == 0 || strcmp(type, "Like") == 0) { |
| 3366 | const char *content = xs_dict_get_path(noti, "msg.content"); | 3366 | const char *content = xs_dict_get_path(noti, "msg.content"); |
| 3367 | 3367 | ||
| 3368 | if (xs_type(content) == XSTYPE_STRING) { | 3368 | if (xs_type(content) == XSTYPE_STRING) { |