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: case QXmppStanza::Error::UnexpectedRequest:
errorText = "Unexpected request"; errorText = "Unexpected request";
break; break;
#if (QXMPP_VERSION) >= QT_VERSION_CHECK(1, 1, 0)
case QXmppStanza::Error::PolicyViolation: case QXmppStanza::Error::PolicyViolation:
errorText = "Policy violation"; errorText = "Policy violation";
break; break;
#endif
} }
errorType = "Client stream error"; errorType = "Client stream error";

2
external/qxmpp vendored

@ -1 +1 @@
Subproject commit 067c7743b1c72d055a749a7611efd2f9026fe784 Subproject commit fe83e9c3d42c3becf682e2b5ecfc9d77b24c614f