diff options
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, | |||
| 602 | if (strcmp(type, "Follow") == 0) | 602 | if (strcmp(type, "Follow") == 0) |
| 603 | objid = id; | 603 | objid = id; |
| 604 | 604 | ||
| 605 | notify_add(snac, type, utype, actor, objid); | 605 | notify_add(snac, type, utype, actor, objid != NULL ? objid : id); |
| 606 | } | 606 | } |
| 607 | 607 | ||
| 608 | 608 | ||