diff options
| author | Melvin Keskin <melvo@olomono.de> | 2023-03-11 14:38:18 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-03-13 16:16:08 +0100 |
| commit | 83316865510a2e3c26b44f41840028b28cd440a1 (patch) | |
| tree | 08c7942a9542dc205a2f65240bca4275093bb564 | |
| parent | 366a22985b946b70252ba5e6dc291dbfe8addd94 (diff) | |
OmemoManagerPrivate: Remove 'this->' when not needed
| -rw-r--r-- | src/omemo/QXmppOmemoManager_p.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/omemo/QXmppOmemoManager_p.cpp b/src/omemo/QXmppOmemoManager_p.cpp index 303c19dc..070ed5a8 100644 --- a/src/omemo/QXmppOmemoManager_p.cpp +++ b/src/omemo/QXmppOmemoManager_p.cpp @@ -923,7 +923,7 @@ bool ManagerPrivate::updatePreKeyPairs(uint32_t count) deviceBundle.addPublicPreKey(preKeyId, serializedPublicPreKey); } - this->preKeyPairs.insert(serializedPreKeyPairs); + preKeyPairs.insert(serializedPreKeyPairs); omemoStorage->addPreKeyPairs(serializedPreKeyPairs); ownDevice.latestPreKeyId = latestPreKeyId - 1 + count; @@ -2786,7 +2786,7 @@ void ManagerPrivate::updateDevices(const QString &deviceOwnerJid, const QXmppOme // Publish an own correct device list if the PEP service's one is incorrect // and the devices are already set up locally. if (isOwnDeviceListIncorrect) { - if (!this->devices.isEmpty()) { + if (!devices.isEmpty()) { publishDeviceListItem(true, [=](bool isPublished) { if (!isPublished) { warning("Own device list item could not be published in order to correct the PEP service's one"); @@ -2848,7 +2848,7 @@ void ManagerPrivate::handleIrregularDeviceListChanges(const QString &deviceOwner } }); } else { - auto &ownerDevices = this->devices[deviceOwnerJid]; + auto &ownerDevices = devices[deviceOwnerJid]; // Set a timestamp for locally stored contact devices being removed // later if their device list item is removed, if their device list node |
