mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Renew session if message decryption fails with ProtocolInvalidMessageException
This commit is contained in:
parent
b7f05a1c80
commit
1bd60eea81
3 changed files with 57 additions and 1 deletions
|
@ -84,7 +84,7 @@ public class ReceiveMessageHandler implements Manager.ReceiveMessageHandler {
|
|||
}
|
||||
}
|
||||
if (content == null) {
|
||||
writer.println("Failed to decrypt message.");
|
||||
writer.println("No message content");
|
||||
} else {
|
||||
writer.println("Sender: {} (device: {})",
|
||||
formatContact(content.getSender()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue