commit e87d5b7e20f468b09efe8fbabe0bd5320cc2922b
parent 344356e4888a290a17836b1c809a124689007039
Author: default <nobody@localhost>
Date: Thu, 1 Jun 2023 10:45:06 +0200
Another tweak in notify().
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/activitypub.c b/activitypub.c
@@ -511,9 +511,6 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
if (xs_type(objid) == XSTYPE_DICT)
objid = xs_dict_get(objid, "id");
- else
- if (objid == NULL)
- objid = id;
if (strcmp(type, "Like") == 0 || strcmp(type, "Announce") == 0) {
/* if it's not an admiration about something by us, done */