diff options
author | default <nobody@localhost> | 2023-11-29 13:40:13 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-11-29 13:40:13 +0100 |
commit | 5b270b903c155843966443e77ed5ed747388975e (patch) | |
tree | d5d10d29a96467f2da2c2507b4647f2b9bafacd8 /html.c | |
parent | f3e7aff2d7f1fc6cc526da3f40d756c877ef6747 (diff) |
Deleted redundant code.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1198,7 +1198,6 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local, char *type = xs_dict_get(msg, "type"); char *actor; char *v; - xs *boosts = NULL; /* do not show non-public messages in the public timeline */ if ((local || !user) && !is_msg_public(msg)) @@ -1307,8 +1306,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int local, xs_html_raw(s1)); } - if (boosts == NULL) - boosts = object_announces(id); + xs *boosts = object_announces(id); if (xs_list_len(boosts)) { /* if somebody boosted this, show as origin */ |