Skip to content

Commit

Permalink
OmemoManager: Remove unneeded variable
Browse files Browse the repository at this point in the history
  • Loading branch information
melvo authored and lnjX committed Jun 20, 2024
1 parent 9ec7440 commit 9ac90ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/omemo/QXmppOmemoManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1023,8 +1023,7 @@ QXmppTask<QXmppE2eeExtension::MessageDecryptResult> QXmppOmemoManager::decryptMe
SendError::EncryptionError });
}

auto omemoElement = message.omemoElement();
if (!omemoElement) {
if (!message.omemoElement()) {
return makeReadyTask<MessageDecryptResult>(NotEncrypted());
}

Expand Down

0 comments on commit 9ac90ab

Please sign in to comment.