Unverified Commit 5cef64f6 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito Committed by GitHub

Merge pull request #779 from antgel/antgel-emoji

Fix typo in unsubscribe
parents befa16fc 996ef07d
...@@ -15,7 +15,7 @@ import chat.rocket.common.util.ifNull ...@@ -15,7 +15,7 @@ import chat.rocket.common.util.ifNull
import chat.rocket.core.internal.realtime.State import chat.rocket.core.internal.realtime.State
import chat.rocket.core.internal.realtime.connect import chat.rocket.core.internal.realtime.connect
import chat.rocket.core.internal.realtime.subscribeRoomMessages import chat.rocket.core.internal.realtime.subscribeRoomMessages
import chat.rocket.core.internal.realtime.unsubscibre import chat.rocket.core.internal.realtime.unsubscribe
import chat.rocket.core.internal.rest.* import chat.rocket.core.internal.rest.*
import chat.rocket.core.model.Message import chat.rocket.core.model.Message
import chat.rocket.core.model.Value import chat.rocket.core.model.Value
...@@ -180,7 +180,7 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView, ...@@ -180,7 +180,7 @@ class ChatRoomPresenter @Inject constructor(private val view: ChatRoomView,
launch(CommonPool) { launch(CommonPool) {
client.removeStateChannel(stateChannel) client.removeStateChannel(stateChannel)
subId?.let { subscriptionId -> subId?.let { subscriptionId ->
client.unsubscibre(subscriptionId) client.unsubscribe(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