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
This commit is contained in:
parent
5003a78a6f
commit
3238487917
|
@ -705,12 +705,14 @@ extension ConversationVC : InputViewDelegate, MessageCellDelegate, ContextMenuAc
|
||||||
|
|
||||||
// MARK: Data Extraction Notifications
|
// MARK: Data Extraction Notifications
|
||||||
@objc func sendScreenshotNotificationIfNeeded() {
|
@objc func sendScreenshotNotificationIfNeeded() {
|
||||||
|
/*
|
||||||
guard thread is TSContactThread else { return }
|
guard thread is TSContactThread else { return }
|
||||||
let message = DataExtractionNotification()
|
let message = DataExtractionNotification()
|
||||||
message.kind = .screenshot
|
message.kind = .screenshot
|
||||||
Storage.write { transaction in
|
Storage.write { transaction in
|
||||||
MessageSender.send(message, in: self.thread, using: transaction)
|
MessageSender.send(message, in: self.thread, using: transaction)
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
func sendMediaSavedNotificationIfNeeded(for viewItem: ConversationViewItem) {
|
func sendMediaSavedNotificationIfNeeded(for viewItem: ConversationViewItem) {
|
||||||
|
|
Loading…
Reference in New Issue