From 46f3831fd238b4c1fb10d44e4531d9e59d574c97 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 22 Jan 2023 18:06:09 +0100 Subject: Use QXmppError in all IQ results instead of StanzaError This allows us to report different error types with more information and makes it possible to distinguish stanza errors and errors generated locally. Part of #501. --- src/client/QXmppRosterManager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/QXmppRosterManager.h') diff --git a/src/client/QXmppRosterManager.h b/src/client/QXmppRosterManager.h index f3629342..654de6eb 100644 --- a/src/client/QXmppRosterManager.h +++ b/src/client/QXmppRosterManager.h @@ -57,8 +57,8 @@ class QXMPP_EXPORT QXmppRosterManager : public QXmppClientExtension Q_OBJECT public: - /// Empty result containing QXmpp::Success or a QXmppStanza::Error - using Result = std::variant; + /// Empty result containing QXmpp::Success or a QXmppError + using Result = std::variant; QXmppRosterManager(QXmppClient *stream); ~QXmppRosterManager() override; -- cgit v1.2.3