From 337c08a3cc219d6a328fbe139667f0335263f5d6 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 31 Mar 2020 01:00:09 +0200 Subject: Deprecate PaymentRequired error condition The error condition was not adopted in RFC6120 as it was unused. --- src/base/QXmppStanza.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/base') 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 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. -- cgit v1.2.3