Browse Source

do not render Headermemos

pull/130/head
DenioD 4 years ago
parent
commit
e3e537b1a4
  1. 12
      src/controller.cpp

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

Loading…
Cancel
Save