From d91a016a6ce484b96d6facd0da9698cd0cacd582 Mon Sep 17 00:00:00 2001 From: default Date: Tue, 6 Aug 2024 18:15:04 +0200 Subject: [PATCH] mastoapi: show EmojiReact notifications as 'favourites'. --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)