mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
disable data extraction notification sending
This commit is contained in:
parent
7aa1f30c98
commit
d1e276bf08
@ -356,7 +356,8 @@ public class MediaOverviewActivity extends PassphraseRequiredActionBarActivity {
|
||||
// Sending a Data extraction notification (for incoming attachments only)
|
||||
boolean containsIncoming = mediaRecords.parallelStream().anyMatch(m -> !m.isOutgoing());
|
||||
if (containsIncoming) {
|
||||
sendMediaSavedNotificationIfNeeded();
|
||||
//TODO uncomment line below when Data extraction will be activated
|
||||
//sendMediaSavedNotificationIfNeeded();
|
||||
}
|
||||
}
|
||||
}.execute();
|
||||
|
@ -354,7 +354,8 @@ public class MediaPreviewActivity extends PassphraseRequiredActionBarActivity im
|
||||
new Attachment(mediaItem.uri, mediaItem.type, saveDate, null));
|
||||
// Sending a Data extraction notification (for incoming attachments only)
|
||||
if(!mediaItem.outgoing) {
|
||||
sendMediaSavedNotificationIfNeeded();
|
||||
//TODO uncomment line below when Data extraction will be activated
|
||||
//sendMediaSavedNotificationIfNeeded();
|
||||
}
|
||||
})
|
||||
.execute();
|
||||
|
@ -748,7 +748,8 @@ public class ConversationFragment extends Fragment
|
||||
saveTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, attachments.toArray(new SaveAttachmentTask.Attachment[0]));
|
||||
// Sending a Data extraction notification (for incoming attachments only)
|
||||
if(!message.isOutgoing()) {
|
||||
sendMediaSavedNotificationIfNeeded();
|
||||
//TODO uncomment line below when Data extraction will be activated
|
||||
//sendMediaSavedNotificationIfNeeded();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user