Bump the SDK to v25.06.25; adopt the new optional RoomInfo joinRule and isPublic.

This commit is contained in:
Stefan Ceriu
2025-06-25 15:29:42 +03:00
committed by Stefan Ceriu
parent 8dc389cd54
commit 46f49af930
15 changed files with 24 additions and 48 deletions
@@ -364,7 +364,7 @@ class HomeScreenViewModel: HomeScreenViewModelType, HomeScreenViewModelProtocol
return
}
if roomProxy.infoPublisher.value.isPublic {
if !roomProxy.infoPublisher.value.isPrivate {
state.bindings.leaveRoomAlertItem = LeaveRoomAlertItem(roomID: roomID, isDM: roomProxy.isDirectOneToOneRoom, state: .public)
} else {
state.bindings.leaveRoomAlertItem = if roomProxy.infoPublisher.value.joinedMembersCount > 1 {