mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 21:36:12 +02:00
Merge pull request #14327 from roxanneskelly/gift-update
Case 18794 - updates were being reported as gifts in the wallet
This commit is contained in:
commit
be17ed0910
1 changed files with 5 additions and 1 deletions
|
@ -219,7 +219,11 @@ QString transactionString(const QJsonObject& valueObject) {
|
||||||
if (!message.isEmpty()) {
|
if (!message.isEmpty()) {
|
||||||
result += QString("<br>with memo: <i>\"%1\"</i>").arg(message);
|
result += QString("<br>with memo: <i>\"%1\"</i>").arg(message);
|
||||||
}
|
}
|
||||||
} else if (sentMoney <= 0 && receivedMoney <= 0 && (sentCerts > 0 || receivedCerts > 0) && !KNOWN_USERS.contains(valueObject["sender_name"].toString())) {
|
} else if (sentMoney <= 0 && receivedMoney <= 0 &&
|
||||||
|
(sentCerts > 0 || receivedCerts > 0) &&
|
||||||
|
!KNOWN_USERS.contains(valueObject["sender_name"].toString()) &&
|
||||||
|
!KNOWN_USERS.contains(valueObject["recipient_name"].toString())
|
||||||
|
) {
|
||||||
// this is a non-HFC asset transfer.
|
// this is a non-HFC asset transfer.
|
||||||
if (sentCerts > 0) {
|
if (sentCerts > 0) {
|
||||||
QString recipient = userLink(valueObject["recipient_name"].toString(), valueObject["place_name"].toString());
|
QString recipient = userLink(valueObject["recipient_name"].toString(), valueObject["place_name"].toString());
|
||||||
|
|
Loading…
Reference in a new issue