Преглед изворни кода

Fixed local message not being shown.

grunfink пре 5 месеци
родитељ
комит
61846db75d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -3615,7 +3615,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
             continue;
 
         const int scope = get_msg_visibility(msg);
-        if (user != NULL && scope != SCOPE_PUBLIC) {
+        if (user != NULL && scope != SCOPE_PUBLIC && !is_msg_mine(user, xs_dict_get(msg, "id"))) {
             /* is this message a non-public reply? */
             const char *irt = get_in_reply_to(msg);