-
-
Save arlolra/fed583ea9567690c8d29 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/context.c b/src/context.c | |
index 44d8b86..b0669f5 100644 | |
--- a/src/context.c | |
+++ b/src/context.c | |
@@ -449,7 +449,7 @@ void otrl_context_forget_fingerprint(Fingerprint *fprint, | |
otrl_context_forget(context); | |
} | |
} else { | |
- if (context->msgstate != OTRL_MSGSTATE_PLAINTEXT || | |
+ if (context->msgstate != OTRL_MSGSTATE_ENCRYPTED || | |
context->active_fingerprint != fprint) { | |
free(fprint->fingerprint); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment