From 2b76c6dcc196df1e641cb11e29e9250acdd44df3 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Thu, 6 Feb 2020 13:09:23 +0100 Subject: QXmppRegistrationManager: Fix typo in deleteAccountIqId --- src/client/QXmppRegistrationManager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/QXmppRegistrationManager.cpp') diff --git a/src/client/QXmppRegistrationManager.cpp b/src/client/QXmppRegistrationManager.cpp index 4f8e97a6..d43a82e5 100644 --- a/src/client/QXmppRegistrationManager.cpp +++ b/src/client/QXmppRegistrationManager.cpp @@ -47,7 +47,7 @@ public: QString changePasswordIqId; QString newPassword; - QString deleteAccountIqIq; + QString deleteAccountIqId; QString registrationIqId; QXmppRegisterIq registrationFormToSend; @@ -105,7 +105,7 @@ void QXmppRegistrationManager::changePassword(const QString &newPassword) void QXmppRegistrationManager::deleteAccount() { auto iq = QXmppRegisterIq::createUnregistrationRequest(); - d->deleteAccountIqIq = iq.id(); + d->deleteAccountIqId = iq.id(); client()->sendPacket(iq); } @@ -258,7 +258,7 @@ bool QXmppRegistrationManager::handleStanza(const QDomElement &stanza) d->changePasswordIqId.clear(); d->newPassword.clear(); return true; - } else if (!id.isEmpty() && id == d->deleteAccountIqIq) { + } else if (!id.isEmpty() && id == d->deleteAccountIqId) { QXmppIq iq; iq.parse(stanza); @@ -276,7 +276,7 @@ bool QXmppRegistrationManager::handleStanza(const QDomElement &stanza) break; // should never occur } - d->deleteAccountIqIq.clear(); + d->deleteAccountIqId.clear(); return true; } else if (QXmppRegisterIq::isRegisterIq(stanza)) { QXmppRegisterIq iq; -- cgit v1.2.3