mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Ensure websocket state changes are handled on main thread.
This commit is contained in:
@@ -64,7 +64,7 @@ class ConversationListViewModel(
|
||||
val pinnedCount: Int
|
||||
get() = store.state.pinnedCount
|
||||
val webSocketState: Observable<WebSocketConnectionState>
|
||||
get() = ApplicationDependencies.getSignalWebSocket().webSocketState
|
||||
get() = ApplicationDependencies.getSignalWebSocket().webSocketState.observeOn(AndroidSchedulers.mainThread())
|
||||
|
||||
@get:JvmName("currentSelectedConversations")
|
||||
val currentSelectedConversations: Set<Conversation>
|
||||
|
||||
Reference in New Issue
Block a user