vanitasvitae / Smack

A modular and portable open source XMPP client library written in Java for Android and Java (SE) VMs
https://igniterealtime.org/projects/smack/
Apache License 2.0
16 stars 3 forks source link

Add DuplicateOmemoMessageException in order to inform client when they try to decrypt messages more than once #9

Closed vanitasvitae closed 7 years ago

vanitasvitae commented 7 years ago

This is currently only logged, but not thrown as Exceptions.

vanitasvitae commented 7 years ago

currently the body of the decrypted ClearTextMessage is null when decryption fails. Not sure, if this is enough though.