This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree 2 files changed +1
-7
lines changed
src/components/structures
test/components/structures/__snapshots__
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ function LocalRoomView(props: LocalRoomViewProps): ReactElement {
301
301
onSearchClick = { null }
302
302
onInviteClick = { null }
303
303
onForgetClick = { null }
304
- e2eStatus = { E2EStatus . Normal }
304
+ e2eStatus = { room . encrypted ? E2EStatus . Normal : null }
305
305
onAppsClick = { null }
306
306
appsShown = { false }
307
307
excludedRightPanelPhaseButtons = { [ ] }
Original file line number Diff line number Diff line change @@ -136,9 +136,6 @@ exports[`RoomView for a local room in state ERROR should match the snapshot 1`]
136
136
</span >
137
137
</div >
138
138
</div >
139
- <div
140
- class = " mx_E2EIcon mx_E2EIcon_normal mx_RoomHeader_icon"
141
- />
142
139
<div
143
140
class = " mx_RoomHeader_name mx_RoomHeader_name--textonly"
144
141
>
@@ -329,9 +326,6 @@ exports[`RoomView for a local room in state NEW should match the snapshot 1`] =
329
326
</span >
330
327
</div >
331
328
</div >
332
- <div
333
- class = " mx_E2EIcon mx_E2EIcon_normal mx_RoomHeader_icon"
334
- />
335
329
<div
336
330
class = " mx_RoomHeader_name mx_RoomHeader_name--textonly"
337
331
>
You can’t perform that action at this time.
0 commit comments