Skip to content

Commit

Permalink
notifications: reload contacts and requests
Browse files Browse the repository at this point in the history
When the app becomes active, the list of trust requests
should be reloaded for contacts to be added properly.

https://git.jami.net/savoirfairelinux/jami-client-ios/-/issues/404
Change-Id: I8e20ad28ecfecbbfbd7444dca63f6fdab5f52d66
  • Loading branch information
katekm committed Aug 30, 2024
1 parent f9bd1e0 commit 860fa52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/conversation_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 860fa52

Please sign in to comment.