mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Bump the SDK to v25.06.25; adopt the new optional RoomInfo joinRule and isPublic.
This commit is contained in:
committed by
Stefan Ceriu
parent
8dc389cd54
commit
46f49af930
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user