mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 06:25:04 +00:00
mastoapi: show EmojiReact notifications as 'favourites'.
This commit is contained in:
parent
88fc843d3e
commit
d91a016a6c
1 changed files with 1 additions and 1 deletions
|
@ -1832,7 +1832,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* convert the type */
|
/* convert the type */
|
||||||
if (strcmp(type, "Like") == 0)
|
if (strcmp(type, "Like") == 0 || strcmp(type, "EmojiReact") == 0)
|
||||||
type = "favourite";
|
type = "favourite";
|
||||||
else
|
else
|
||||||
if (strcmp(type, "Announce") == 0)
|
if (strcmp(type, "Announce") == 0)
|
||||||
|
|
Loading…
Reference in a new issue