mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Hide export and fast share for noforwards.
This commit is contained in:
@@ -518,7 +518,7 @@ bool PeerData::canEditMessagesIndefinitely() const {
|
||||
}
|
||||
|
||||
bool PeerData::canExportChatHistory() const {
|
||||
if (isRepliesChat()) {
|
||||
if (isRepliesChat() || !allowsForwarding()) {
|
||||
return false;
|
||||
}
|
||||
if (const auto channel = asChannel()) {
|
||||
|
Reference in New Issue
Block a user