diff options
| author | 2024-12-04 05:51:17 +0100 | |
|---|---|---|
| committer | 2024-12-04 05:51:17 +0100 | |
| commit | 203db3b09e3ebf8677f75e83e5470b99c74de470 (patch) | |
| tree | 661c07f5529eb563f7d3e7775a10a5b0973476c9 /html.c | |
| parent | Version 2.65 RELEASED. (diff) | |
| download | snac2-203db3b09e3ebf8677f75e83e5470b99c74de470.tar.gz snac2-203db3b09e3ebf8677f75e83e5470b99c74de470.tar.xz snac2-203db3b09e3ebf8677f75e83e5470b99c74de470.zip | |
Fixed bug in blocked instance rejection.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -1524,6 +1524,9 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only, | |||
| 1524 | if ((read_only || !user) && !is_msg_public(msg)) | 1524 | if ((read_only || !user) && !is_msg_public(msg)) |
| 1525 | return NULL; | 1525 | return NULL; |
| 1526 | 1526 | ||
| 1527 | if (is_instance_blocked(id)) | ||
| 1528 | return NULL; | ||
| 1529 | |||
| 1527 | if (user && level == 0 && xs_is_true(xs_dict_get(user->config, "collapse_threads"))) | 1530 | if (user && level == 0 && xs_is_true(xs_dict_get(user->config, "collapse_threads"))) |
| 1528 | collapse_threads = 1; | 1531 | collapse_threads = 1; |
| 1529 | 1532 | ||