aboutsummaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorshtrophic <christoph@liebender.dev>2025-02-19 08:56:14 +0100
committershtrophic <christoph@liebender.dev>2025-02-19 08:56:14 +0100
commit2ca7735779e79dbe6fe62f0111a12c145f428d8f (patch)
tree16c523a9e7f29576435368165f92c1f34e3c2ab8 /activitypub.c
parent7eb2556f26baf8ff79fcb7388712d8b714efc4f6 (diff)
fix ownership-problem of mailinfo
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 e2519e6..a91821d 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 *mailinfo = xs_dict_new();
+ xs_dict *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));