mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Implement forward and copy restriction
This commit is contained in:
@@ -576,7 +576,7 @@ final class ChatItemGalleryFooterContentNode: GalleryFooterContentNode, UIScroll
|
||||
self.currentMessage = message
|
||||
|
||||
let canDelete: Bool
|
||||
var canShare = !message.containsSecretMedia
|
||||
var canShare = !message.containsSecretMedia && !message.isCopyProtected()
|
||||
|
||||
var canFullscreen = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user