diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp index 01aed54..1e72714 100644 --- a/src/chatmodel.cpp +++ b/src/chatmodel.cpp @@ -97,7 +97,7 @@ void MainWindow::renderContactRequest(){ QStandardItemModel* contactRequest = new QStandardItemModel(); { - for (auto &c : DataStore::getChatDataStore()->getAllRawChatItems()) + for (auto &c : DataStore::getChatDataStore()->getAllContactRequests()) { QStandardItem* Items = new QStandardItem(c.second.getAddress());