Commit fb0205e9 authored by Benoit Marty's avatar Benoit Marty
Browse files

Exchange fun name :)

parent f704539c
......@@ -143,7 +143,7 @@ class RoomSettingsViewModel @AssistedInject constructor(@Assisted initialState:
.disposeOnClear()
}
private fun observeGuestAccess() {
private fun observeJoinRule() {
room.rx()
.liveStateEvent(EventType.STATE_ROOM_JOIN_RULES, QueryStringValue.NoCondition)
.mapOptional { it.content.toModel<RoomJoinRulesContent>() }
......@@ -156,7 +156,7 @@ class RoomSettingsViewModel @AssistedInject constructor(@Assisted initialState:
.disposeOnClear()
}
private fun observeJoinRule() {
private fun observeGuestAccess() {
room.rx()
.liveStateEvent(EventType.STATE_ROOM_GUEST_ACCESS, QueryStringValue.NoCondition)
.mapOptional { it.content.toModel<RoomGuestAccessContent>() }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment