Commit 03f2b516 authored by Benoit Marty's avatar Benoit Marty
Browse files

Please the code quality checker

parent 56d0699b
...@@ -129,9 +129,9 @@ class UnreadMessagesSharedViewModel @AssistedInject constructor(@Assisted initia ...@@ -129,9 +129,9 @@ class UnreadMessagesSharedViewModel @AssistedInject constructor(@Assisted initia
is RoomGroupingMethod.BySpace -> { is RoomGroupingMethod.BySpace -> {
val selectedSpace = appStateHandler.safeActiveSpaceId() val selectedSpace = appStateHandler.safeActiveSpaceId()
val inviteCount = session.getRoomSummaries(roomSummaryQueryParams { val inviteCount = session.getRoomSummaries(
this.memberships = listOf(Membership.INVITE) roomSummaryQueryParams { this.memberships = listOf(Membership.INVITE) }
}).size ).size
val totalCount = session.getNotificationCountForRooms( val totalCount = session.getNotificationCountForRooms(
roomSummaryQueryParams { roomSummaryQueryParams {
......
...@@ -119,9 +119,9 @@ class SpacesListViewModel @AssistedInject constructor(@Assisted initialState: Sp ...@@ -119,9 +119,9 @@ class SpacesListViewModel @AssistedInject constructor(@Assisted initialState: Sp
.throttleFirst(300, TimeUnit.MILLISECONDS) .throttleFirst(300, TimeUnit.MILLISECONDS)
.observeOn(Schedulers.computation()) .observeOn(Schedulers.computation())
.subscribe { .subscribe {
val inviteCount = session.getRoomSummaries(roomSummaryQueryParams { val inviteCount = session.getRoomSummaries(
this.memberships = listOf(Membership.INVITE) roomSummaryQueryParams { this.memberships = listOf(Membership.INVITE) }
}).size ).size
val totalCount = session.getNotificationCountForRooms( val totalCount = session.getNotificationCountForRooms(
roomSummaryQueryParams { roomSummaryQueryParams {
......
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