Show omemo UI if encryption is active
The UI should be shown when encryption is active in any case so that the user can disable it. If for any reason the jid of the contact is not in device_ids the UI was not shown before. If addtionally the last known state of encryption was active, the user saw no UI and couldnt disable omemo. Because for the jid are no devices known (hence not in device_ids) and omemo = active, because of security omemo wouldnt let any messages be sent. The user had no chance to come out of this state
Please register or sign in to comment