Update API scheme on layer 224.

This commit is contained in:
John Preston
2026-03-16 14:15:13 +04:00
parent 5a39484407
commit 68dd72f4fe
8 changed files with 21 additions and 11 deletions
+2 -1
View File
@@ -213,7 +213,8 @@ void Polls::reloadResults(not_null<HistoryItem*> item) {
}
const auto requestId = _api.request(MTPmessages_GetPollResults(
item->history()->peer->input(),
MTP_int(item->id)
MTP_int(item->id),
MTP_long(0)
)).done([=](const MTPUpdates &result) {
_pollReloadRequestIds.erase(itemId);
_session->updates().applyUpdates(result);