mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-15 12:37:05 +02:00
Transaction string was assuming items given to the
marketplace/highfidelity were Gifts and was reporting them as such. Items given to the marketplace are in exchange for updates, and the memo indicates such.
This commit is contained in:
parent
5c78a463de
commit
1f8dde6756
1 changed files with 5 additions and 1 deletions
|
@ -219,7 +219,11 @@ QString transactionString(const QJsonObject& valueObject) {
|
|||
if (!message.isEmpty()) {
|
||||
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.
|
||||
if (sentCerts > 0) {
|
||||
QString recipient = userLink(valueObject["recipient_name"].toString(), valueObject["place_name"].toString());
|
||||
|
|
Loading…
Reference in a new issue