diff options
| author | Linus Jahn <lnj@kaidan.im> | 2020-02-06 13:09:23 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2020-02-06 13:09:58 +0100 |
| commit | 2b76c6dcc196df1e641cb11e29e9250acdd44df3 (patch) | |
| tree | 9e912926f39ee94da33d6606852bb31a607a5af1 /src | |
| parent | 918c8977596fa0b47ec25582495388159accd627 (diff) | |
| download | qxmpp-2b76c6dcc196df1e641cb11e29e9250acdd44df3.tar.gz | |
QXmppRegistrationManager: Fix typo in deleteAccountIqId
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/QXmppRegistrationManager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
