From 32384879170bc9a6fd1a389b2a09c1ce801aeb2d Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 13 Jul 2021 13:47:28 +1000 Subject: [PATCH] Don't send screenshot notifications None of the other platforms are able to do it, so it's inconsistent for iOS to be sending them --- Session/Conversations/ConversationVC+Interaction.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Session/Conversations/ConversationVC+Interaction.swift b/Session/Conversations/ConversationVC+Interaction.swift index 90f630436..30919cd71 100644 --- a/Session/Conversations/ConversationVC+Interaction.swift +++ b/Session/Conversations/ConversationVC+Interaction.swift @@ -705,12 +705,14 @@ extension ConversationVC : InputViewDelegate, MessageCellDelegate, ContextMenuAc // MARK: Data Extraction Notifications @objc func sendScreenshotNotificationIfNeeded() { + /* guard thread is TSContactThread else { return } let message = DataExtractionNotification() message.kind = .screenshot Storage.write { transaction in MessageSender.send(message, in: self.thread, using: transaction) } + */ } func sendMediaSavedNotificationIfNeeded(for viewItem: ConversationViewItem) {