diff options
| author | 2025-10-11 18:47:52 +0200 | |
|---|---|---|
| committer | 2025-10-11 18:47:52 +0200 | |
| commit | fc62cb00899b0b4567b9c3bd8b0c38410c562e62 (patch) | |
| tree | 1168371ab3ae46a92cf8a826f76645234ad8e706 /activitypub.c | |
| parent | mastoapi: added deleting for posts. (diff) | |
| download | snac2-fc62cb00899b0b4567b9c3bd8b0c38410c562e62.tar.gz snac2-fc62cb00899b0b4567b9c3bd8b0c38410c562e62.tar.xz snac2-fc62cb00899b0b4567b9c3bd8b0c38410c562e62.zip | |
Fixed recipient_list() for mentioned accounts.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 0a60d0d..c433788 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -584,6 +584,8 @@ xs_list *recipient_list(snac *snac, const xs_dict *msg, int expand_public) | |||
| 584 | while (xs_list_iter(&p, &actor)) | 584 | while (xs_list_iter(&p, &actor)) |
| 585 | xs_set_add(&rcpts, actor); | 585 | xs_set_add(&rcpts, actor); |
| 586 | } | 586 | } |
| 587 | else | ||
| 588 | xs_set_add(&rcpts, v); | ||
| 587 | } | 589 | } |
| 588 | else | 590 | else |
| 589 | xs_set_add(&rcpts, v); | 591 | xs_set_add(&rcpts, v); |