diff options
author | default <nobody@localhost> | 2023-02-02 04:23:56 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-02-02 04:23:56 +0100 |
commit | 56c4711caf99ccc7e3297a2cb4a867998c3e3cae (patch) | |
tree | e317bf83d7553687f9eb98b9bd56613e2be53b20 /data.c | |
parent | 829cdb672194bf9354455aa1807172ec83d85a95 (diff) |
enqueue_output() adds the keyid and seckey args to the q_item.
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1363,7 +1363,9 @@ void enqueue_output(snac *snac, xs_dict *msg, xs_str *inbox, int retries) char *ntid = xs_dict_get(qmsg, "ntid"); xs *fn = xs_fmt("%s/queue/%s.json", snac->basedir, ntid); - qmsg = xs_dict_append(qmsg, "inbox", inbox); + qmsg = xs_dict_append(qmsg, "inbox", inbox); + qmsg = xs_dict_append(qmsg, "keyid", snac->actor); + qmsg = xs_dict_append(qmsg, "seckey", xs_dict_get(snac->key, "secret")); qmsg = _enqueue_put(fn, qmsg); |