enqueue_output() adds the keyid and seckey args to the q_item.

This commit is contained in:
default 2023-02-02 04:23:56 +01:00
parent 829cdb6721
commit 56c4711caf

2
data.c
View file

@ -1364,6 +1364,8 @@ void enqueue_output(snac *snac, xs_dict *msg, xs_str *inbox, int retries)
xs *fn = xs_fmt("%s/queue/%s.json", snac->basedir, ntid);
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);