mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2966 Chats | Fix | Misc. fixes (#2452)
This commit is contained in:
parent
e685e4ea53
commit
202cea41f6
7 changed files with 20 additions and 6 deletions
|
@ -11,6 +11,11 @@ interface ChatEventRemoteChannel {
|
|||
class Default(
|
||||
private val channel: ChatEventRemoteChannel
|
||||
) : ChatEventChannel {
|
||||
|
||||
override fun subscribe(subscribe: Id): Flow<List<Event.Command.Chats>> {
|
||||
return channel.subscribe(subscribe)
|
||||
}
|
||||
|
||||
override fun observe(chat: Id): Flow<List<Event.Command.Chats>> {
|
||||
return channel.observe(chat)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue