From 56c4711caf99ccc7e3297a2cb4a867998c3e3cae Mon Sep 17 00:00:00 2001 From: default Date: Thu, 2 Feb 2023 04:23:56 +0100 Subject: [PATCH] enqueue_output() adds the keyid and seckey args to the q_item. --- data.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data.c b/data.c index 66cef9f..fd191a5 100644 --- a/data.c +++ b/data.c @@ -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);