Skip to content
Snippets Groups Projects
Commit 5cd2490f authored by Sébastien Blin's avatar Sébastien Blin
Browse files

contactmodel: subscribe presence on conversation accepted

Change-Id: Ic11b651b7347773716088c6ce3784c70655f89b1
parent ca853031
No related branches found
No related tags found
No related merge requests found
......@@ -310,8 +310,10 @@ ContactModel::addContact(contact::Info contactInfo)
Q_EMIT profileUpdated(profile.uri);
if (profile.type == profile::Type::SIP)
Q_EMIT contactAdded(profile.uri);
else
else {
PresenceManager::instance().subscribeBuddy(owner.id, profile.uri, true);
ConfigurationManager::instance().lookupAddress(owner.id, "", profile.uri);
}
}
void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment