forked from blue/squawk
Now avatars are properly autogenerated, reduced vCard spam
This commit is contained in:
parent
93c5be412e
commit
0be2648849
9 changed files with 76 additions and 92 deletions
|
@ -650,10 +650,10 @@ void Models::Roster::onChildRemoved() {
|
|||
void Models::Roster::addPresence(const QString& account, const QString& jid, const QString& name, const QMap<QString, QVariant>& data) {
|
||||
ElId contactId(account, jid);
|
||||
std::map<ElId, Contact*>::iterator itr = contacts.find(contactId);
|
||||
if (itr != contacts.end()) {
|
||||
if (itr != contacts.end())
|
||||
itr->second->addPresence(name, data);
|
||||
}
|
||||
|
||||
else
|
||||
qDebug() << "Received a presence" << jid + "/" + name << "don't know what to do with it";
|
||||
}
|
||||
|
||||
void Models::Roster::removePresence(const QString& account, const QString& jid, const QString& name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue