mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 00:43:38 +00:00
Don't set the admirer as the referrer if it's a Like.
This commit is contained in:
parent
f61e5ed140
commit
af8f3ad324
1 changed files with 1 additions and 1 deletions
2
data.c
2
data.c
|
@ -602,7 +602,7 @@ void timeline_admire(snac *snac, char *id, char *admirer, int like)
|
|||
ofn = xs_replace_i(ofn, "/timeline/", "/local/");
|
||||
unlink(ofn);
|
||||
|
||||
_timeline_write(snac, id, msg, xs_dict_get(meta, "parent"), admirer);
|
||||
_timeline_write(snac, id, msg, xs_dict_get(meta, "parent"), like ? NULL : admirer);
|
||||
|
||||
snac_debug(snac, 1, xs_fmt("timeline_admire (%s) %s %s",
|
||||
like ? "Like" : "Announce", id, admirer));
|
||||
|
|
Loading…
Reference in a new issue