diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp index c3503b9..65d5c3e 100644 --- a/src/chatmodel.cpp +++ b/src/chatmodel.cpp @@ -160,7 +160,7 @@ void ChatModel::renderContactRequest(){ for (auto &c : this->chatItems) - for (auto &p : AddressBook::getInstance()->getAllAddressLabels()) { + { if ((c.second.getType() == "cont") && (c.second.isOutgoing() == false) && (c.second.getMemo().startsWith("{"))) {