aboutsummaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorshtrophic <christoph@liebender.dev>2025-02-20 17:13:12 +0100
committershtrophic <christoph@liebender.dev>2025-02-20 17:13:12 +0100
commit59a34a9646e28cc9a63194ff55547de0005d0110 (patch)
tree0d11017b6431c514bd6afd16138a06851cd2f09e /activitypub.c
parent2ca7735779e79dbe6fe62f0111a12c145f428d8f (diff)
Revert "fix ownership-problem of mailinfo"
This reverts commit 2ca7735779e79dbe6fe62f0111a12c145f428d8f.
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index a91821d..e2519e6 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1025,7 +1025,7 @@ void notify(snac *snac, const char *type, const char *utype, const char *actor,
"\n",
from, email, subject);
- xs_dict *mailinfo = xs_dict_new();
+ xs *mailinfo = xs_dict_new();
xs_dict_append(mailinfo, "from", from);
xs_dict_append(mailinfo, "to", email);
xs_dict_append(mailinfo, "body", xs_fmt("%s%s", header, body));