Skip to content

Commit 832d196

Browse files
authored
Merge pull request #642 from Adamant-im/dev
Release 4.7.3
2 parents 340cf01 + 85920b0 commit 832d196

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "im.adamant.adamantmessengerpwa"
88
minSdkVersion rootProject.ext.minSdkVersion
99
targetSdkVersion rootProject.ext.targetSdkVersion
10-
versionCode 472
11-
versionName "4.7.2"
10+
versionCode 473
11+
versionName "4.7.3"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adamant-im",
3-
"version": "4.7.2",
3+
"version": "4.7.3",
44
"author": "ADAMANT Foundation <[email protected]>",
55
"license": "GPLv3",
66
"description": "Decentralized Messenger",

src/lib/chat/helpers/normalizeMessage.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,11 @@ export function normalizeMessage(abstract) {
9696
transaction.type = notSupportedYetCrypto || 'UNKNOWN_CRYPTO'
9797
transaction.status = TS.UNKNOWN
9898
}
99-
} else if (typeof abstract.message === 'string' || abstract.type === Transactions.SEND) {
99+
} else if (
100+
typeof abstract.message === 'string' ||
101+
abstract.type === Transactions.SEND ||
102+
abstract.amount > 0
103+
) {
100104
// ADM transaction or Message
101105
transaction.message = abstract.message || ''
102106
transaction.hash = abstract.id // adm transaction id (hash)

0 commit comments

Comments
 (0)