diff options
| author | shtrophic <christoph@liebender.dev> | 2025-03-08 22:29:50 +0100 |
|---|---|---|
| committer | shtrophic <christoph@liebender.dev> | 2025-03-08 22:29:50 +0100 |
| commit | 398b733b2c0ff4c96f4de9731a864373842e86d6 (patch) | |
| tree | e2a381ee39d7139cf13c953c5ddad8e59bf8163f /mastoapi.c | |
| parent | beb500360c32ee459201a087dbed57a447b1f0db (diff) | |
| parent | ecf006811de59b58b3da39f68d8ed4efa7712914 (diff) | |
Merge remote-tracking branch 'upstream/master' into curl-smtp
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2684,7 +2684,7 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path, if (strcmp(visibility, "public") == 0) scope = 0; - xs *msg = msg_note(&snac, content, NULL, irt, attach_list, scope, language); + xs *msg = msg_note(&snac, content, NULL, irt, attach_list, scope, language, NULL); if (!xs_is_null(summary) && *summary) { msg = xs_dict_set(msg, "sensitive", xs_stock(XSTYPE_TRUE)); @@ -3034,7 +3034,7 @@ int mastoapi_post_handler(const xs_dict *req, const char *q_path, if (o) { const char *name = xs_dict_get(o, "name"); - xs *msg = msg_note(&snac, "", atto, (char *)id, NULL, 1, NULL); + xs *msg = msg_note(&snac, "", atto, (char *)id, NULL, 1, NULL, NULL); msg = xs_dict_append(msg, "name", name); xs *c_msg = msg_create(&snac, msg); |