mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix sending-when-online for already-online user.
This commit is contained in:
parent
e285b22398
commit
a25005483a
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ void ScheduledMessages::sendNowSimpleMessage(
|
|||
auto action = Api::SendAction(history);
|
||||
action.replyTo = local->replyToId();
|
||||
const auto replyHeader = NewMessageReplyHeader(action);
|
||||
const auto localFlags = NewMessageFlags(history->peer);
|
||||
const auto localFlags = NewMessageFlags(history->peer)
|
||||
& ~MessageFlag::BeingSent;
|
||||
const auto flags = MTPDmessage::Flag::f_entities
|
||||
| MTPDmessage::Flag::f_from_id
|
||||
| (local->replyToId()
|
||||
|
|
Loading…
Add table
Reference in a new issue