Don't mark as read when forwarding to scheduled.

This commit is contained in:
John Preston 2021-09-16 10:50:15 +03:00
parent 3e681e5449
commit 73c0ea4b7d
2 changed files with 4 additions and 3 deletions

View File

@ -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