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
1 changed files with 1 additions and 1 deletions

View File

@ -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 = () => {