improve some gui elements

This commit is contained in:
DenioD
2020-05-14 22:52:28 +02:00
parent b40b482b32
commit 74aaa0482f
16 changed files with 153 additions and 29 deletions

View File

@@ -1,3 +1,6 @@
// Copyright 2019-2020 The Hush developers
// GPLv3
#include "ChatDataStore.h"
ChatDataStore* ChatDataStore::getInstance()
@@ -43,8 +46,8 @@ std::map<QString, ChatItem> ChatDataStore::getAllContactRequests()
for(auto &c: this->data)
{
if (
(c.second.getType() == "cont") &&
(c.second.isOutgoing() == false) &&
(c.second.isOutgoing() == false) &&
(c.second.getType() == "cont") &&
(c.second.getMemo().startsWith("{"))
)
{