This commit is contained in:
DenioD
2020-05-01 19:38:07 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ QString ChatModel::getCidByTx(QString tx)
{ {
qDebug() << "TXID=" << pair.first << " CID=" << pair.second; qDebug() << "TXID=" << pair.first << " CID=" << pair.second;
} }
if(this->cidMap.count(tx) > 0) if(this->cidMap.count(tx) > 0)
{ {
return this->cidMap[tx]; return this->cidMap[tx];

View File

@@ -947,7 +947,8 @@ void Controller::refreshTransactions() {
if(chatModel->getCidByTx(txid) != QString("0xdeadbeef")) if(chatModel->getCidByTx(txid) != QString("0xdeadbeef"))
cid = chatModel->getCidByTx(txid); cid = chatModel->getCidByTx(txid);
//cid = ""; else
cid = "";
} }
ChatItem item = ChatItem( ChatItem item = ChatItem(