Skip to content

Commit

Permalink
OmemoManager: Remove unneeded variable
Browse files Browse the repository at this point in the history
  • Loading branch information
melvo committed Jun 18, 2024
1 parent 31ef426 commit 5a49b79
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 5a49b79

Please sign in to comment.