Exchange fun name :)
This commit is contained in:
parent
f704539c89
commit
fb0205e903
|
@ -143,7 +143,7 @@ class RoomSettingsViewModel @AssistedInject constructor(@Assisted initialState:
|
||||||
.disposeOnClear()
|
.disposeOnClear()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun observeGuestAccess() {
|
private fun observeJoinRule() {
|
||||||
room.rx()
|
room.rx()
|
||||||
.liveStateEvent(EventType.STATE_ROOM_JOIN_RULES, QueryStringValue.NoCondition)
|
.liveStateEvent(EventType.STATE_ROOM_JOIN_RULES, QueryStringValue.NoCondition)
|
||||||
.mapOptional { it.content.toModel<RoomJoinRulesContent>() }
|
.mapOptional { it.content.toModel<RoomJoinRulesContent>() }
|
||||||
|
@ -156,7 +156,7 @@ class RoomSettingsViewModel @AssistedInject constructor(@Assisted initialState:
|
||||||
.disposeOnClear()
|
.disposeOnClear()
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun observeJoinRule() {
|
private fun observeGuestAccess() {
|
||||||
room.rx()
|
room.rx()
|
||||||
.liveStateEvent(EventType.STATE_ROOM_GUEST_ACCESS, QueryStringValue.NoCondition)
|
.liveStateEvent(EventType.STATE_ROOM_GUEST_ACCESS, QueryStringValue.NoCondition)
|
||||||
.mapOptional { it.content.toModel<RoomGuestAccessContent>() }
|
.mapOptional { it.content.toModel<RoomGuestAccessContent>() }
|
||||||
|
|
Loading…
Reference in New Issue