2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Respect can_see_list flag in reactions.

This commit is contained in:
John Preston
2021-12-21 15:29:40 +00:00
parent 118072db77
commit fe468ce7e9
9 changed files with 22 additions and 12 deletions

View File

@@ -3687,9 +3687,6 @@ void ApiWrap::sendInlineResult(
if (silentPost) {
sendFlags |= MTPmessages_SendInlineBotResult::Flag::f_silent;
}
if (bot) {
flags |= MessageFlag::HasViaBot;
}
if (action.options.scheduled) {
flags |= MessageFlag::IsOrWasScheduled;
sendFlags |= MTPmessages_SendInlineBotResult::Flag::f_schedule_date;