mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-10 03:50:38 +03:00
Fixed poll id in mastoapi.
This commit is contained in:
parent
c40ef367f9
commit
a3eb84b932
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user