diff options
| author | 2024-08-06 18:15:04 +0200 | |
|---|---|---|
| committer | 2024-08-06 18:15:04 +0200 | |
| commit | d91a016a6ce484b96d6facd0da9698cd0cacd582 (patch) | |
| tree | 3d6286b1f0a6e1a0f3a6967c2ed4768b94bb0b20 /mastoapi.c | |
| parent | Use xs_between() where applicable. (diff) | |
| download | penes-snac2-d91a016a6ce484b96d6facd0da9698cd0cacd582.tar.gz penes-snac2-d91a016a6ce484b96d6facd0da9698cd0cacd582.tar.xz penes-snac2-d91a016a6ce484b96d6facd0da9698cd0cacd582.zip | |
mastoapi: show EmojiReact notifications as 'favourites'.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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) |