diff options
| author | 2023-05-03 07:57:10 +0200 | |
|---|---|---|
| committer | 2023-05-03 07:57:10 +0200 | |
| commit | 0bd609f5be9aa24bced629273ff2428058388ac3 (patch) | |
| tree | ddc5e93c427935ec5b4d4170ef480c20d118512b /html.c | |
| parent | Use xs_replace_n() where it suits. (diff) | |
| download | snac2-0bd609f5be9aa24bced629273ff2428058388ac3.tar.gz snac2-0bd609f5be9aa24bced629273ff2428058388ac3.tar.xz snac2-0bd609f5be9aa24bced629273ff2428058388ac3.zip | |
Fixed missing notifications in certain circunstancies.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1226,7 +1226,7 @@ xs_str *html_notifications(snac *snac) | |||
| 1226 | const char *actor_id = xs_dict_get(noti, "actor"); | 1226 | const char *actor_id = xs_dict_get(noti, "actor"); |
| 1227 | xs *actor = NULL; | 1227 | xs *actor = NULL; |
| 1228 | 1228 | ||
| 1229 | if (!valid_status(object_get(actor_id, &actor))) | 1229 | if (!valid_status(actor_get(snac, actor_id, &actor))) |
| 1230 | continue; | 1230 | continue; |
| 1231 | 1231 | ||
| 1232 | xs *a_name = actor_name(actor); | 1232 | xs *a_name = actor_name(actor); |