forked from blue/squawk
some more with contect menu
This commit is contained in:
parent
ee59d92cdc
commit
f0f26ae1a1
6 changed files with 48 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue