Promote "Share encrypted history" from labs (#33281)
* Promote "Share encrypted history" from labs * fix lint * Update labs.md * update snapshots * Update unit tests * update playwright screenshot
This commit is contained in:
@@ -446,7 +446,6 @@ export default function RoomHeader({
|
||||
const roomName = useRoomName(room);
|
||||
const joinRule = useRoomState(room, (state) => state.getJoinRule());
|
||||
const historyVisibility = useRoomState(room, (state) => state.getHistoryVisibility());
|
||||
const historySharingEnabled = useFeatureEnabled("feature_share_history_on_invite");
|
||||
const dmMember = useDmMember(room);
|
||||
const isDirectMessage = !!dmMember;
|
||||
const isRoomEncrypted = useIsEncrypted(client, room);
|
||||
@@ -532,7 +531,7 @@ export default function RoomHeader({
|
||||
</Tooltip>
|
||||
)}
|
||||
|
||||
{isRoomEncrypted && historySharingEnabled && historyVisibilityIcon(historyVisibility)}
|
||||
{isRoomEncrypted && historyVisibilityIcon(historyVisibility)}
|
||||
</Text>
|
||||
</Box>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user