forked from blue/squawk
qxmpp bump, ifdef to assemble on lower versions
This commit is contained in:
parent
bdca0aa6b1
commit
6657dc79ce
2 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue