|
|
@ -100,7 +100,7 @@ class AttachmentDownloadJob(val attachmentID: Long, val databaseMessageID: Long)
|
|
|
|
handleFailure(Error.NoSender, null)
|
|
|
|
handleFailure(Error.NoSender, null)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!threadRecipient.isGroupRecipient || (contact?.isTrusted != true && storage.getUserPublicKey() != sender)) {
|
|
|
|
if (!threadRecipient.isGroupRecipient && contact?.isTrusted != true && storage.getUserPublicKey() != sender) {
|
|
|
|
// if we aren't receiving a group message, a message from ourselves (self-send) and the contact sending is not trusted:
|
|
|
|
// if we aren't receiving a group message, a message from ourselves (self-send) and the contact sending is not trusted:
|
|
|
|
// do not continue, but do not fail
|
|
|
|
// do not continue, but do not fail
|
|
|
|
handleFailure(Error.NoSender, null)
|
|
|
|
handleFailure(Error.NoSender, null)
|
|
|
|