Add a new `active` flag for OMEMO devices.
Instead of deleting devices that are not returned in the device list, set an `active` flag, so that we don't remove the trust setting. Set deactivated devices to `active` when a receive an OMEMO message from it. Also, set omemo_supported to true when we've succesfully decrypted a message.
Showing
Please register or sign in to comment