diff options
author | default <nobody@localhost> | 2023-05-31 10:57:06 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-05-31 10:57:06 +0200 |
commit | a3eb84b932656e24823e2b886ef8fcd9265ea806 (patch) | |
tree | b734d220dce7153d127c297e480e31a47c3a3c46 | |
parent | c40ef367f98b143eccd747cc780bef356e82f575 (diff) |
Fixed poll id in mastoapi.
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -812,7 +812,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg) int num_votes = 0; xs *options = xs_list_new(); - poll = xs_dict_append(poll, "id", id); + poll = xs_dict_append(poll, "id", mid); poll = xs_dict_append(poll, "expires_at", xs_dict_get(msg, "endTime")); poll = xs_dict_append(poll, "expired", xs_dict_get(msg, "closed") != NULL ? t : f); |