aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppFutureUtils_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppFutureUtils_p.h')
-rw-r--r--src/base/QXmppFutureUtils_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/QXmppFutureUtils_p.h b/src/base/QXmppFutureUtils_p.h
index d69ec7fd..311e7019 100644
--- a/src/base/QXmppFutureUtils_p.h
+++ b/src/base/QXmppFutureUtils_p.h
@@ -150,10 +150,10 @@ auto parseIq(Input &&sendResult, Converter convert) -> decltype(convert({}))
}
return convert(std::move(iq));
},
- [](QXmpp::SendError error) -> Result {
+ [](QXmppError error) -> Result {
using Error = QXmppStanza::Error;
return Error(Error::Wait, Error::UndefinedCondition,
- QStringLiteral("Couldn't send request: ") + error.text);
+ QStringLiteral("Couldn't send request: ") + error.description);
},
},
sendResult);