diff options
Diffstat (limited to '')
| -rw-r--r-- | html.c | 6 |
1 files changed, 1 insertions, 5 deletions
| @@ -443,7 +443,6 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i | |||
| 443 | char *id = xs_dict_get(msg, "id"); | 443 | char *id = xs_dict_get(msg, "id"); |
| 444 | char *type = xs_dict_get(msg, "type"); | 444 | char *type = xs_dict_get(msg, "type"); |
| 445 | char *meta = xs_dict_get(msg, "_snac"); | 445 | char *meta = xs_dict_get(msg, "_snac"); |
| 446 | xs *actor_o = NULL; | ||
| 447 | char *actor; | 446 | char *actor; |
| 448 | 447 | ||
| 449 | /* do not show non-public messages in the public timeline */ | 448 | /* do not show non-public messages in the public timeline */ |
| @@ -477,10 +476,7 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i | |||
| 477 | if (is_muted(snac, actor)) | 476 | if (is_muted(snac, actor)) |
| 478 | return os; | 477 | return os; |
| 479 | 478 | ||
| 480 | if (strcmp(actor, snac->actor) == 0) | 479 | if (strcmp(actor, snac->actor) != 0 && !valid_status(actor_get(snac, actor, NULL))) |
| 481 | actor_o = msg_actor(snac); | ||
| 482 | else | ||
| 483 | if (!valid_status(actor_get(snac, actor, &actor_o))) | ||
| 484 | return os; | 480 | return os; |
| 485 | 481 | ||
| 486 | /* if this is our post, add the score */ | 482 | /* if this is our post, add the score */ |