1
0
Fork 0
forked from blue/squawk

some more with contect menu

This commit is contained in:
Blue 2019-06-14 19:36:04 +03:00
parent ee59d92cdc
commit f0f26ae1a1
6 changed files with 48 additions and 8 deletions

View file

@ -354,3 +354,14 @@ void Core::Squawk::unsubscribeContact(const QString& account, const QString& jid
itr->second->unsubscribeFromContact(jid, reason);
}
void Core::Squawk::removeContactRequest(const QString& account, const QString& jid)
{
AccountsMap::const_iterator itr = amap.find(account);
if (itr == amap.end()) {
qDebug("An attempt to remove contact from non existing account, skipping");
return;
}
itr->second->removeContactRequest(jid);
}