Commit 50ae6f26 authored by Him188's avatar Him188

Add comments

parent 33b97c21
...@@ -244,7 +244,7 @@ internal class TIMBotNetworkHandler internal constructor(coroutineContext: Corou ...@@ -244,7 +244,7 @@ internal class TIMBotNetworkHandler internal constructor(coroutineContext: Corou
} }
when (packet) { when (packet) {
is Cancellable -> if ((packet as Cancellable).broadcast(coroutineContext).cancelled) return is Cancellable /* Cancellable : Subscribable */ -> if ((packet as Cancellable).broadcast(coroutineContext).cancelled) return
is Subscribable -> if ((packet as? BroadcastControllable)?.shouldBroadcast != false) packet.broadcast(coroutineContext) is Subscribable -> if ((packet as? BroadcastControllable)?.shouldBroadcast != false) packet.broadcast(coroutineContext)
} }
......
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