Skip to content
Snippets Groups Projects
Commit 860fa521 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

notifications: reload contacts and requests

When the app becomes active, the list of trust requests
should be reloaded for contacts to be added properly.

jami-client-ios#404
Change-Id: I8e20ad28ecfecbbfbd7444dca63f6fdab5f52d66
parent f9bd1e05
Branches
No related tags found
No related merge requests found
......@@ -295,6 +295,7 @@ void
reloadConversationsAndRequests(const std::string& accountId)
{
if (auto acc = jami::Manager::instance().getAccount<jami::JamiAccount>(accountId)) {
acc->reloadContacts();
if (auto convModule = acc->convModule(true)) {
convModule->reloadRequests();
convModule->loadConversations();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment