summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-01-19 09:35:42 +0100
committerdefault <nobody@localhost>2024-01-19 09:35:42 +0100
commit49d707078b7bd5758bc06fedb03e7e074d2b9586 (patch)
tree7b860e5a9b29e38a7535542b0352c2c86f14ff95 /mastoapi.c
parent5208f9d625364293e84c5cb27045ba3f3d6914cf (diff)
Mastoapi: fixed an error the edited_at field.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index a9e8aa8..00a7e37 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -993,7 +993,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
tmp = fd2;
}
- st = xs_dict_append(st, "edited_at", fd2);
+ st = xs_dict_append(st, "edited_at", tmp);
if (strcmp(type, "Question") == 0) {
xs *poll = mastoapi_poll(snac, msg);