From 18ba4707ab6e3657084ad96f1be0620cd18abf7b Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Thu, 28 Apr 2022 22:28:53 -0400 Subject: [PATCH] Add missing await in leave command --- node/src/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/client.js b/node/src/client.js index 36b200f..e142a88 100644 --- a/node/src/client.js +++ b/node/src/client.js @@ -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 = () => {