diff options
| -rw-r--r-- | html.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -2460,6 +2460,10 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 2460 | const char *content = xs_dict_get(m, "content"); | 2460 | const char *content = xs_dict_get(m, "content"); |
| 2461 | const char *actor = xs_dict_get(m, "actor"); | 2461 | const char *actor = xs_dict_get(m, "actor"); |
| 2462 | const xs_list *contentl = xs_dict_get(sfrl, content); | 2462 | const xs_list *contentl = xs_dict_get(sfrl, content); |
| 2463 | |||
| 2464 | if (is_muted(user, actor) || is_instance_blocked(actor)) | ||
| 2465 | continue; | ||
| 2466 | |||
| 2463 | xs *actors = xs_list_new(); | 2467 | xs *actors = xs_list_new(); |
| 2464 | actors = xs_list_append(actors, actor); | 2468 | actors = xs_list_append(actors, actor); |
| 2465 | char me = actor && user && strcmp(actor, user->actor) == 0; | 2469 | char me = actor && user && strcmp(actor, user->actor) == 0; |