do not render Headermemos
This commit is contained in:
@@ -880,6 +880,10 @@ void Controller::refreshTransactions()
|
|||||||
if (!o["memo"].is_null())
|
if (!o["memo"].is_null())
|
||||||
{
|
{
|
||||||
memo = QString::fromStdString(o["memo"]);
|
memo = QString::fromStdString(o["memo"]);
|
||||||
|
if (memo.startsWith("{"))
|
||||||
|
{
|
||||||
|
|
||||||
|
}else{
|
||||||
ChatItem item = ChatItem(
|
ChatItem item = ChatItem(
|
||||||
datetime,
|
datetime,
|
||||||
address,
|
address,
|
||||||
@@ -890,6 +894,7 @@ void Controller::refreshTransactions()
|
|||||||
chatModel->addMessage(item);
|
chatModel->addMessage(item);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
items.push_back(TransactionItemDetail{address, amount, memo});
|
items.push_back(TransactionItemDetail{address, amount, memo});
|
||||||
@@ -929,6 +934,11 @@ void Controller::refreshTransactions()
|
|||||||
if (!it["memo"].is_null())
|
if (!it["memo"].is_null())
|
||||||
{
|
{
|
||||||
memo = QString::fromStdString(it["memo"]);
|
memo = QString::fromStdString(it["memo"]);
|
||||||
|
if (memo.startsWith("{"))
|
||||||
|
{
|
||||||
|
|
||||||
|
}else{
|
||||||
|
|
||||||
ChatItem item = ChatItem(
|
ChatItem item = ChatItem(
|
||||||
datetime,
|
datetime,
|
||||||
address,
|
address,
|
||||||
@@ -936,7 +946,7 @@ void Controller::refreshTransactions()
|
|||||||
memo
|
memo
|
||||||
);
|
);
|
||||||
chatModel->addMessage(item);
|
chatModel->addMessage(item);
|
||||||
}
|
}}
|
||||||
|
|
||||||
|
|
||||||
items.push_back(
|
items.push_back(
|
||||||
|
|||||||
Reference in New Issue
Block a user