forked from blue/squawk
basic avatar/vcard changes uploads and roster reaction
This commit is contained in:
parent
652381b067
commit
36c71968bc
8 changed files with 97 additions and 11 deletions
|
@ -543,3 +543,13 @@ void Core::Squawk::requestVCard(const QString& account, const QString& jid)
|
|||
}
|
||||
itr->second->requestVCard(jid);
|
||||
}
|
||||
|
||||
void Core::Squawk::uploadVCard(const QString& account, const Shared::VCard& card)
|
||||
{
|
||||
AccountsMap::const_iterator itr = amap.find(account);
|
||||
if (itr == amap.end()) {
|
||||
qDebug() << "An attempt to upload vcard to non existing account" << account << ", skipping";
|
||||
return;
|
||||
}
|
||||
itr->second->uploadVCard(card);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue