mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Update API scheme to layer178, ads broke build.
This commit is contained in:
@@ -792,8 +792,10 @@ void SaveAllowedReactions(
|
||||
? MTP_chatReactionsNone()
|
||||
: MTP_chatReactionsSome(MTP_vector<MTPReaction>(ids));
|
||||
peer->session().api().request(MTPmessages_SetChatAvailableReactions(
|
||||
MTP_flags(0),
|
||||
peer->input,
|
||||
updated
|
||||
updated,
|
||||
MTP_int(0) // reactions_limit
|
||||
)).done([=](const MTPUpdates &result) {
|
||||
peer->session().api().applyUpdates(result);
|
||||
if (const auto chat = peer->asChat()) {
|
||||
|
Reference in New Issue
Block a user