Obsolete Members for QXmppClientExtension
The following members of class QXmppClientExtension are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) virtual bool | handleStanza(const QDomElement &stanza) |
Member Function Documentation
[virtual, deprecated] bool QXmppClientExtension::handleStanza(const QDomElement &stanza)
This function is deprecated. We strongly advise against using it in new code.
You need to implement this method to process incoming XMPP stanzas.
You should return true if the stanza was handled and no further processing should occur, or false to let other extensions process the stanza.
End-to-end encrypted stanzas are not passed to this overload, for that purpose use the new overload instead.
This is deprecated since QXmpp 1.5. Please use QXmppClientExtension::handleStanza(const QDomElement &stanza, const std::optional<QXmppE2eeMetadata> &e2eeMetadata). Currently both methods are called by the client, so only implement one!