mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
Fix sending-when-online for already-online user.
This commit is contained in:
@@ -194,7 +194,8 @@ void ScheduledMessages::sendNowSimpleMessage(
|
|||||||
auto action = Api::SendAction(history);
|
auto action = Api::SendAction(history);
|
||||||
action.replyTo = local->replyToId();
|
action.replyTo = local->replyToId();
|
||||||
const auto replyHeader = NewMessageReplyHeader(action);
|
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
|
const auto flags = MTPDmessage::Flag::f_entities
|
||||||
| MTPDmessage::Flag::f_from_id
|
| MTPDmessage::Flag::f_from_id
|
||||||
| (local->replyToId()
|
| (local->replyToId()
|
||||||
|
Reference in New Issue
Block a user