mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Track noforwards flag in specific messages.
This commit is contained in:
@@ -521,8 +521,7 @@ bool PeerData::canEditMessagesIndefinitely() const {
|
||||
bool PeerData::canExportChatHistory() const {
|
||||
if (isRepliesChat() || !allowsForwarding()) {
|
||||
return false;
|
||||
}
|
||||
if (const auto channel = asChannel()) {
|
||||
} else if (const auto channel = asChannel()) {
|
||||
if (!channel->amIn() && channel->invitePeekExpires()) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user