summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorGravatar default2022-09-28 15:41:07 +0200
committerGravatar default2022-09-28 15:41:07 +0200
commit233d7d8a10bbef5200b5026bb59acfe5d8a252fd (patch)
tree39ec3e7360496de4ad759ccbdd322dc76ebf754c /data.c
parentMore HTML work. (diff)
downloadsnac2-233d7d8a10bbef5200b5026bb59acfe5d8a252fd.tar.gz
snac2-233d7d8a10bbef5200b5026bb59acfe5d8a252fd.tar.xz
snac2-233d7d8a10bbef5200b5026bb59acfe5d8a252fd.zip
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)
606 list = xs_list_append(list, admirer); 606 list = xs_list_append(list, admirer);
607 607
608 /* set the admirer as the referrer */ 608 /* set the admirer as the referrer */
609 meta = xs_dict_set(meta, "referrer", admirer); 609 if (!like)
610 meta = xs_dict_set(meta, "referrer", admirer);
610 611
611 /* re-store */ 612 /* re-store */
612 if (like) 613 if (like)