diff --git a/core/account.cpp b/core/account.cpp index 4c12761..ffa993b 100644 --- a/core/account.cpp +++ b/core/account.cpp @@ -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"; diff --git a/external/qxmpp b/external/qxmpp index 067c774..fe83e9c 160000 --- a/external/qxmpp +++ b/external/qxmpp @@ -1 +1 @@ -Subproject commit 067c7743b1c72d055a749a7611efd2f9026fe784 +Subproject commit fe83e9c3d42c3becf682e2b5ecfc9d77b24c614f