From 20df73355daf6e18624a79df53fb94c6030824ba Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Fri, 6 Oct 2023 13:56:47 +1100 Subject: [PATCH 1/2] fix: or should be and (#1334) --- .../session/libsession/messaging/jobs/AttachmentDownloadJob.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentDownloadJob.kt b/libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentDownloadJob.kt index 1697c088bb..44ea2d55fd 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentDownloadJob.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/jobs/AttachmentDownloadJob.kt @@ -100,7 +100,7 @@ class AttachmentDownloadJob(val attachmentID: Long, val databaseMessageID: Long) handleFailure(Error.NoSender, null) 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: // do not continue, but do not fail handleFailure(Error.NoSender, null) From cb1b5b0f78befb5c9e9624ebac467394d4329f60 Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Mon, 9 Oct 2023 10:12:51 +1100 Subject: [PATCH 2/2] build: update version name and code --- app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 2d4894a4f5..fa0184bb22 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,8 +31,8 @@ configurations.all { exclude module: "commons-logging" } -def canonicalVersionCode = 355 -def canonicalVersionName = "1.17.1" +def canonicalVersionCode = 356 +def canonicalVersionName = "1.17.2" def postFixSize = 10 def abiPostFix = ['armeabi-v7a' : 1,