diff options
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -937,7 +937,7 @@ xs_str *html_entry(snac *user, xs_str *os, const xs_dict *msg, int local, | |||
| 937 | xs *boosts = NULL; | 937 | xs *boosts = NULL; |
| 938 | 938 | ||
| 939 | /* do not show non-public messages in the public timeline */ | 939 | /* do not show non-public messages in the public timeline */ |
| 940 | if (local && !is_msg_public(msg)) | 940 | if ((local || !user) && !is_msg_public(msg)) |
| 941 | return os; | 941 | return os; |
| 942 | 942 | ||
| 943 | /* hidden? do nothing more for this conversation */ | 943 | /* hidden? do nothing more for this conversation */ |
| @@ -1484,7 +1484,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local, int skip, int | |||
| 1484 | if (!valid_status(status)) | 1484 | if (!valid_status(status)) |
| 1485 | continue; | 1485 | continue; |
| 1486 | 1486 | ||
| 1487 | s = html_entry(user, s, msg, local, 0, v, 0); | 1487 | s = html_entry(user, s, msg, local, 0, v, user ? 0 : 1); |
| 1488 | } | 1488 | } |
| 1489 | 1489 | ||
| 1490 | s = xs_str_cat(s, "</div>\n"); | 1490 | s = xs_str_cat(s, "</div>\n"); |