summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-08-06 18:15:04 +0200
committerGravatar default2024-08-06 18:15:04 +0200
commitd91a016a6ce484b96d6facd0da9698cd0cacd582 (patch)
tree3d6286b1f0a6e1a0f3a6967c2ed4768b94bb0b20
parentUse xs_between() where applicable. (diff)
downloadsnac2-d91a016a6ce484b96d6facd0da9698cd0cacd582.tar.gz
snac2-d91a016a6ce484b96d6facd0da9698cd0cacd582.tar.xz
snac2-d91a016a6ce484b96d6facd0da9698cd0cacd582.zip
mastoapi: show EmojiReact notifications as 'favourites'.
-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,
1832 continue; 1832 continue;
1833 1833
1834 /* convert the type */ 1834 /* convert the type */
1835 if (strcmp(type, "Like") == 0) 1835 if (strcmp(type, "Like") == 0 || strcmp(type, "EmojiReact") == 0)
1836 type = "favourite"; 1836 type = "favourite";
1837 else 1837 else
1838 if (strcmp(type, "Announce") == 0) 1838 if (strcmp(type, "Announce") == 0)