diff options
| author | default <nobody@localhost> | 2024-12-04 05:53:12 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-12-04 05:53:12 +0100 |
| commit | e0ba66a53e8cd89b900b895675588c29d5bb7a2d (patch) | |
| tree | 70823c90d3d8bdfc11b681fe8aa0d4884d3111e4 /html.c | |
| parent | 203db3b09e3ebf8677f75e83e5470b99c74de470 (diff) | |
Check for existing id.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1524,7 +1524,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, if ((read_only || !user) && !is_msg_public(msg)) return NULL; - if (is_instance_blocked(id)) + if (id && is_instance_blocked(id)) return NULL; if (user && level == 0 && xs_is_true(xs_dict_get(user->config, "collapse_threads"))) |