Skip to content
Snippets Groups Projects
Commit c026f9b2 authored by Sébastien Blin's avatar Sébastien Blin Committed by Andreas Traczyk
Browse files

conversationmodel: add intercom ability


A user should be able to communicate with its own
account.

Change-Id: I8fc1eaebd455f092ad3f367f5e5701215809d7b3
Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
parent b66eea03
No related branches found
No related tags found
No related merge requests found
......@@ -1110,9 +1110,6 @@ ConversationModelPimpl::initConversations()
}
for (auto const& c : linked.owner.contactModel->getAllContacts())
{
if(linked.owner.profileInfo.uri == c.second.profileInfo.uri)
continue;
auto contactProfileId = database::getProfileId(db, c.second.profileInfo.uri);
if (contactProfileId.empty()) {
// Should not, ContactModel must create profiles before.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment