commit d91a016a6ce484b96d6facd0da9698cd0cacd582
parent 88fc843d3e9c31d50afbf1554344df05314931d3
Author: default <nobody@localhost>
Date: Tue, 6 Aug 2024 18:15:04 +0200
mastoapi: show EmojiReact notifications as 'favourites'.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)