summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-08-06 18:15:04 +0200
committerdefault <nobody@localhost>2024-08-06 18:15:04 +0200
commitd91a016a6ce484b96d6facd0da9698cd0cacd582 (patch)
tree3d6286b1f0a6e1a0f3a6967c2ed4768b94bb0b20 /mastoapi.c
parent88fc843d3e9c31d50afbf1554344df05314931d3 (diff)
mastoapi: show EmojiReact notifications as 'favourites'.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 0c3b07e..c4184b4 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1832,7 +1832,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
continue;
/* convert the type */
- if (strcmp(type, "Like") == 0)
+ if (strcmp(type, "Like") == 0 || strcmp(type, "EmojiReact") == 0)
type = "favourite";
else
if (strcmp(type, "Announce") == 0)