moving on with MUC, nothing final yet

This commit is contained in:
Blue 2019-08-21 12:35:07 +03:00
parent 0a6f612b60
commit 828d14c908
10 changed files with 314 additions and 145 deletions

View file

@ -461,6 +461,13 @@ void Models::Roster::changeContact(const QString& account, const QString& jid, c
cBeg->second->update(itr.key(), itr.value());;
}
}
std::map<ElId, Room*>::iterator rItr = rooms.find(id);
if (rItr != rooms.end()) {
for (QMap<QString, QVariant>::const_iterator itr = data.begin(), end = data.end(); itr != end; ++itr) {
rItr->second->update(itr.key(), itr.value());;
}
}
}
void Models::Roster::removeContact(const QString& account, const QString& jid)