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

Track noforwards flag in specific messages.

This commit is contained in:
John Preston
2021-11-25 18:33:53 +04:00
parent 886ff7de50
commit 0f443da758
22 changed files with 179 additions and 109 deletions

View File

@@ -1165,7 +1165,7 @@ bool DocumentData::canBeStreamed(HistoryItem *item) const {
&& supportsStreaming()
&& (!isVideoFile()
|| !cUseExternalVideoPlayer()
|| (item && !item->history()->peer->allowsForwarding()));
|| (item && !item->allowsForward()));
}
void DocumentData::setInappPlaybackFailed() {