commit 61846db

grunfink  ·  2026-02-24 06:28:17 +0000 UTC
parent b5f9aa9
Fixed local message not being shown.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -3615,7 +3615,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2             continue;
3 
4         const int scope = get_msg_visibility(msg);
5-        if (user != NULL && scope != SCOPE_PUBLIC) {
6+        if (user != NULL && scope != SCOPE_PUBLIC && !is_msg_mine(user, xs_dict_get(msg, "id"))) {
7             /* is this message a non-public reply? */
8             const char *irt = get_in_reply_to(msg);
9