summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar shtrophic2025-02-20 17:13:12 +0100
committerGravatar shtrophic2025-02-20 17:13:12 +0100
commit59a34a9646e28cc9a63194ff55547de0005d0110 (patch)
tree0d11017b6431c514bd6afd16138a06851cd2f09e /activitypub.c
parentfix ownership-problem of mailinfo (diff)
downloadsnac2-59a34a9646e28cc9a63194ff55547de0005d0110.tar.gz
snac2-59a34a9646e28cc9a63194ff55547de0005d0110.tar.xz
snac2-59a34a9646e28cc9a63194ff55547de0005d0110.zip
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,
1025 "\n", 1025 "\n",
1026 from, email, subject); 1026 from, email, subject);
1027 1027
1028 xs_dict *mailinfo = xs_dict_new(); 1028 xs *mailinfo = xs_dict_new();
1029 xs_dict_append(mailinfo, "from", from); 1029 xs_dict_append(mailinfo, "from", from);
1030 xs_dict_append(mailinfo, "to", email); 1030 xs_dict_append(mailinfo, "to", email);
1031 xs_dict_append(mailinfo, "body", xs_fmt("%s%s", header, body)); 1031 xs_dict_append(mailinfo, "body", xs_fmt("%s%s", header, body));