Zom-iOS-XMPP icon indicating copy to clipboard operation
Zom-iOS-XMPP copied to clipboard

Enable encryption automatically for new users and new group chats created

Open tiffrobo opened this issue 6 years ago • 3 comments

When you start a new group or are a new user auto enable encryption.

  • Leave the visibility of settings UI toggle to be enabled by the user

tiffrobo avatar Jun 27 '18 19:06 tiffrobo

Ok, so turns out we had previously overridden upstream to start groups in "plaintext". Now, I removed that code to have the same logic as upstream, which is "if we have keys for any of the room occupants, we can do omemo", see bestTransportSecurity in OTRMPPRoom.swift.

@n8fr8 Good enough?

N-Pex avatar Jun 28 '18 12:06 N-Pex

Yes, great!

n8fr8 avatar Jun 28 '18 13:06 n8fr8

@N-Pex So what should I see as a user in the UI? Will I see the Group Encryption option with the toggle to 'on' in every new group as a new user? Or is it 'enabled' but in order to see the UI I must go into my settings and turn the master toggle on?

Right now I don't see any UI in group chat until I go into my settings and enable it from there. However, once I do, in my groups I then see the toggle and it's already 'on'

Device: iPhone 6, iPhone 7, iPad OS: 10.3.3, 11.2.2, 10.3.2 App version: build 135

tiffrobo avatar Jun 29 '18 22:06 tiffrobo