Procházet zdrojové kódy

Fixed local message not being shown.

grunfink před 5 měsíci
rodič
revize
61846db75d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);