Add missing await in leave command
This commit is contained in:
parent
b7df79e65d
commit
18ba4707ab
|
@ -1009,7 +1009,7 @@ export default class PeerClient {
|
||||||
userClient.talkClient.channelList,
|
userClient.talkClient.channelList,
|
||||||
req.channel_props.type
|
req.channel_props.type
|
||||||
)
|
)
|
||||||
return channelList.leaveChannel({ channelId: req.channel_props.id })
|
return await channelList.leaveChannel({ channelId: req.channel_props.id })
|
||||||
}
|
}
|
||||||
|
|
||||||
handleUnknownCommand = () => {
|
handleUnknownCommand = () => {
|
||||||
|
|
Loading…
Reference in New Issue