mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Don't mark as read when forwarding to scheduled.
This commit is contained in:
parent
3e681e5449
commit
73c0ea4b7d
2 changed files with 4 additions and 3 deletions
|
@ -3653,8 +3653,9 @@ void ApiWrap::forwardMessages(
|
|||
const auto history = action.history;
|
||||
const auto peer = history->peer;
|
||||
|
||||
histories.readInbox(history);
|
||||
|
||||
if (!action.options.scheduled) {
|
||||
histories.readInbox(history);
|
||||
}
|
||||
const auto anonymousPost = peer->amAnonymous();
|
||||
const auto silentPost = ShouldSendSilent(peer, action.options);
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2d53ef070f3dee5f36246c2c7ce830f755847344
|
||||
Subproject commit a8a4cc8c1a91e9120d5782d35ae3d6ab58dbb8fc
|
Loading…
Add table
Reference in a new issue