forked from blue/squawk
offline avatars in mucs
This commit is contained in:
parent
29c7d31c89
commit
21c7d65027
16 changed files with 225 additions and 45 deletions
|
@ -1063,6 +1063,7 @@ void Core::Account::onContactHistoryResponse(const std::list<Shared::Message>& l
|
|||
|
||||
void Core::Account::onClientError(QXmppClient::Error err)
|
||||
{
|
||||
qDebug() << "Error";
|
||||
QString errorText;
|
||||
QString errorType;
|
||||
switch (err) {
|
||||
|
@ -1140,6 +1141,9 @@ void Core::Account::onClientError(QXmppClient::Error err)
|
|||
case QXmppStanza::Error::UnexpectedRequest:
|
||||
errorText = "Unexpected request";
|
||||
break;
|
||||
case QXmppStanza::Error::PolicyViolation:
|
||||
errorText = "Policy violation";
|
||||
break;
|
||||
}
|
||||
|
||||
errorType = "Client stream error";
|
||||
|
@ -1367,7 +1371,8 @@ void Core::Account::addNewRoom(const QString& jid, const QString& nick, const QS
|
|||
{"autoJoin", conf->getAutoJoin()},
|
||||
{"joined", conf->getJoined()},
|
||||
{"nick", conf->getNick()},
|
||||
{"name", conf->getName()}
|
||||
{"name", conf->getName()},
|
||||
{"avatars", conf->getAllAvatars()}
|
||||
};
|
||||
|
||||
Archive::AvatarInfo info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue