diff --git a/android/app/build.gradle b/android/app/build.gradle index bb4de241e..ebf46d732 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "im.adamant.adamantmessengerpwa" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 472 - versionName "4.7.2" + versionCode 473 + versionName "4.7.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/package-lock.json b/package-lock.json index 6be36ef51..f4ca1778d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "adamant-im", - "version": "4.7.2", + "version": "4.7.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "adamant-im", - "version": "4.7.2", + "version": "4.7.3", "hasInstallScript": true, "license": "GPLv3", "dependencies": { diff --git a/package.json b/package.json index f36ccc752..002f0bfa3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adamant-im", - "version": "4.7.2", + "version": "4.7.3", "author": "ADAMANT Foundation ", "license": "GPLv3", "description": "Decentralized Messenger", diff --git a/src/lib/chat/helpers/normalizeMessage.js b/src/lib/chat/helpers/normalizeMessage.js index ae3cef22b..227bc0a74 100644 --- a/src/lib/chat/helpers/normalizeMessage.js +++ b/src/lib/chat/helpers/normalizeMessage.js @@ -96,7 +96,11 @@ export function normalizeMessage(abstract) { transaction.type = notSupportedYetCrypto || 'UNKNOWN_CRYPTO' transaction.status = TS.UNKNOWN } - } else if (typeof abstract.message === 'string' || abstract.type === Transactions.SEND) { + } else if ( + typeof abstract.message === 'string' || + abstract.type === Transactions.SEND || + abstract.amount > 0 + ) { // ADM transaction or Message transaction.message = abstract.message || '' transaction.hash = abstract.id // adm transaction id (hash)