Commit 9d59c945 authored by Lucio Maciel's avatar Lucio Maciel

Fix unsubscription

parent 12f813b8
...@@ -73,7 +73,7 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView, ...@@ -73,7 +73,7 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView,
} }
fun unsubscribeMessages() { fun unsubscribeMessages() {
launchUI(strategy) { launch(CommonPool) {
subId?.let { subscriptionId -> subId?.let { subscriptionId ->
client.unsubscibre(subscriptionId) client.unsubscibre(subscriptionId)
} }
......
Markdown is supported
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