Page MenuHomePhorge

Support enabling encryption in a room
ClosedPublic

Authored by tusooa on May 21 2024, 8:15 PM.
Tags
None
Referenced Files
F105592: D33.1730717984.diff
Sun, Nov 3, 2:59 AM
F104307: D33.1730664284.diff
Sat, Nov 2, 1:04 PM
F104306: D33.1730664281.diff
Sat, Nov 2, 1:04 PM
F104285: D33.1730664117.diff
Sat, Nov 2, 1:01 PM
Subscribers
None

Details

Summary

This commit adds a label in RoomSettingsPage to indicate whether encryption is enabled in the room. It also adds a button to enable encryption for an unencrypted room.

Type: add

Closes https://iron.lily-is.land/T68

Test Plan

Verify that unit tests pass.

Open the settings page of an encrypted room. It should show the room is encrypted an has no "Enable encryption" button.

Open the settings page of an unencrypted room. It should show the room is not encrypted and has an "Enable encryption" button. Clicking on it should open a popup asking you whether you want to do it. When you click Cancel, nothing should happen. When you click Ok, it should proceed to send a state event.
If you have permission to send an m.room.encryption state event, clicking on it should results in the room being encrypted, and any new messages you send should be encrypted. If you do not have such permission, it should display an error.

Diff Detail

Repository
rK kazv
Branch
tusooa/stacked
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 49
Build 87: GitLab CI for kazv
Build 86: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 21 2024, 8:19 PM
Harbormaster failed remote builds in B49: Diff 80!
This revision is now accepted and ready to land.May 29 2024, 6:05 AM