qxmpp bump, ifdef to assemble on lower versions

This commit is contained in:
Blue 2020-04-14 22:40:32 +03:00
parent bdca0aa6b1
commit 6657dc79ce
2 changed files with 3 additions and 1 deletions

View file

@ -1141,9 +1141,11 @@ void Core::Account::onClientError(QXmppClient::Error err)
case QXmppStanza::Error::UnexpectedRequest:
errorText = "Unexpected request";
break;
#if (QXMPP_VERSION) >= QT_VERSION_CHECK(1, 1, 0)
case QXmppStanza::Error::PolicyViolation:
errorText = "Policy violation";
break;
#endif
}
errorType = "Client stream error";