Add missing await in leave command

This commit is contained in:
Andrew Ferrazzutti 2022-04-28 22:28:53 -04:00
parent b7df79e65d
commit 18ba4707ab

View File

@ -1009,7 +1009,7 @@ export default class PeerClient {
userClient.talkClient.channelList,
req.channel_props.type
)
return channelList.leaveChannel({ channelId: req.channel_props.id })
return await channelList.leaveChannel({ channelId: req.channel_props.id })
}
handleUnknownCommand = () => {