Просмотр исходного кода

Fixed local message not being shown.

grunfink 5 месяцев назад
Родитель
Сommit
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;
             continue;
 
 
         const int scope = get_msg_visibility(msg);
         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? */
             /* is this message a non-public reply? */
             const char *irt = get_in_reply_to(msg);
             const char *irt = get_in_reply_to(msg);