do not render Headermemos

This commit is contained in:
DenioD
2020-04-29 22:07:19 +02:00
parent 1aa5a05589
commit e3e537b1a4

View File

@@ -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(