diff --git a/src/controller.cpp b/src/controller.cpp index dd46217..a28b74c 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -880,6 +880,10 @@ void Controller::refreshTransactions() if (!o["memo"].is_null()) { memo = QString::fromStdString(o["memo"]); + if (memo.startsWith("{")) + { + + }else{ ChatItem item = ChatItem( datetime, address, @@ -890,6 +894,7 @@ void Controller::refreshTransactions() chatModel->addMessage(item); } + } items.push_back(TransactionItemDetail{address, amount, memo}); @@ -929,6 +934,11 @@ void Controller::refreshTransactions() if (!it["memo"].is_null()) { memo = QString::fromStdString(it["memo"]); + if (memo.startsWith("{")) + { + + }else{ + ChatItem item = ChatItem( datetime, address, @@ -936,7 +946,7 @@ void Controller::refreshTransactions() memo ); chatModel->addMessage(item); - } + }} items.push_back(