summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-28 15:41:07 +0200
committerdefault <nobody@localhost>2022-09-28 15:41:07 +0200
commit233d7d8a10bbef5200b5026bb59acfe5d8a252fd (patch)
tree39ec3e7360496de4ad759ccbdd322dc76ebf754c /data.c
parent69bc24a4bf188b0d504cfaa1350d9381ed45eb89 (diff)
More HTML work.
Diffstat (limited to 'data.c')
-rw-r--r--data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/data.c b/data.c
index b20dc9e..1062896 100644
--- a/data.c
+++ b/data.c
@@ -606,7 +606,8 @@ void timeline_admire(snac *snac, char *id, char *admirer, int like)
list = xs_list_append(list, admirer);
/* set the admirer as the referrer */
- meta = xs_dict_set(meta, "referrer", admirer);
+ if (!like)
+ meta = xs_dict_set(meta, "referrer", admirer);
/* re-store */
if (like)