diff options
| author | Linus Jahn <lnj@kaidan.im> | 2020-03-31 01:00:09 +0200 |
|---|---|---|
| committer | LNJ <lnj@kaidan.im> | 2020-03-31 02:34:46 +0200 |
| commit | 337c08a3cc219d6a328fbe139667f0335263f5d6 (patch) | |
| tree | 644cb8b6378ad5482ff8ff9a6774cffe1a2db01d /src/base | |
| parent | c54d4df9524439d6a989b72b88a1810ebbbcede6 (diff) | |
| download | qxmpp-337c08a3cc219d6a328fbe139667f0335263f5d6.tar.gz | |
Deprecate PaymentRequired error condition
The <payment-required/> error condition was not adopted in RFC6120 as it
was unused.
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/QXmppStanza.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/base/QXmppStanza.h b/src/base/QXmppStanza.h index e06d0b3b..43ae4375 100644 --- a/src/base/QXmppStanza.h +++ b/src/base/QXmppStanza.h @@ -130,7 +130,10 @@ public: NotAcceptable, ///< The request does not meet the defined critera. NotAllowed, ///< No entity is allowed to perform the request. NotAuthorized, ///< The request should be resent after authentication. - PaymentRequired, ///< Payment is required to perform the request. + /// Payment is required to perform the request. + /// \deprecated This error condition is deprecated since QXmpp 1.3 as it was not adopted in RFC6120. + QT_DEPRECATED_X("The <payment-required/> error was removed in RFC6120") + PaymentRequired, RecipientUnavailable, ///< The recipient is unavailable. Redirect, ///< The requested resource is available elsewhere. RegistrationRequired, ///< The requesting entity needs to register first. |
