diff options
author | default <nobody@localhost> | 2023-06-02 10:58:49 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-02 10:58:49 +0200 |
commit | 84152d67f5c5158b1e75ce67c13e4af696e3f305 (patch) | |
tree | bbf853ce17a95661d0fce8f234db450e6b1fcd14 /activitypub.c | |
parent | b0337f55b5c0afe32231f1efffe7aa184319b7e3 (diff) |
Fixed bug in notify() (the poll id was not set).
Diffstat (limited to 'activitypub.c')
-rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index c28e52f..67b4739 100644 --- a/activitypub.c +++ b/activitypub.c @@ -602,7 +602,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor, if (strcmp(type, "Follow") == 0) objid = id; - notify_add(snac, type, utype, actor, objid); + notify_add(snac, type, utype, actor, objid != NULL ? objid : id); } |