dont refresh to often

This commit is contained in:
DenioD
2020-06-02 20:19:18 +02:00
parent 4b7af93e0d
commit 8ffed6683c
5 changed files with 21 additions and 24 deletions

View File

@@ -60,7 +60,8 @@ std::map<QString, ChatItem> ChatDataStore::getAllNewContactRequests()
if (
(c.second.isOutgoing() == false) &&
(c.second.getType() == "Cont") &&
(c.second.isContact() == false)
(c.second.isContact() == false) &&
(c.second.getMemo().isEmpty())
)
{