diff options
| author | 2024-11-23 17:16:31 +0100 | |
|---|---|---|
| committer | 2024-11-23 17:16:31 +0100 | |
| commit | c88d7e72f0531114e7e000f79ee6ce9a11f23952 (patch) | |
| tree | 9b2a126ebd869da9e3ee9c52e505728356f69e38 /activitypub.c | |
| parent | The 'metadata' field in user.json is now a string instead of a dict. (diff) | |
| download | penes-snac2-c88d7e72f0531114e7e000f79ee6ce9a11f23952.tar.gz penes-snac2-c88d7e72f0531114e7e000f79ee6ce9a11f23952.tar.xz penes-snac2-c88d7e72f0531114e7e000f79ee6ce9a11f23952.zip | |
Minor tweak to new metadata.
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 8c0c423..8bcb6b0 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1226,7 +1226,7 @@ xs_dict *msg_actor(snac *snac) | |||
| 1226 | else | 1226 | else |
| 1227 | if (xs_type(md) == XSTYPE_STRING) { | 1227 | if (xs_type(md) == XSTYPE_STRING) { |
| 1228 | metadata = xs_dict_new(); | 1228 | metadata = xs_dict_new(); |
| 1229 | xs *l = xs_split(md, "\r\n"); | 1229 | xs *l = xs_split(md, "\n"); |
| 1230 | const char *ll; | 1230 | const char *ll; |
| 1231 | 1231 | ||
| 1232 | xs_list_foreach(l, ll) { | 1232 | xs_list_foreach(l, ll) { |