From 9b4276721cbc987f15eb7ddd50d76beb7bb09afe Mon Sep 17 00:00:00 2001 From: JC Brand Date: Thu, 19 Dec 2019 13:12:12 +0100 Subject: [PATCH] Remove unnecessary await statement --- src/headless/utils/stanza.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headless/utils/stanza.js b/src/headless/utils/stanza.js index 8d45d2230..72b804f08 100644 --- a/src/headless/utils/stanza.js +++ b/src/headless/utils/stanza.js @@ -298,7 +298,7 @@ const stanza_utils = { 'chat_state': stanza_utils.getChatState(stanza), 'is_archived': stanza_utils.isArchived(original_stanza), 'is_delayed': !!delay, - 'is_only_emojis': text ? await u.isOnlyEmojis(text) : false, + 'is_only_emojis': text ? u.isOnlyEmojis(text) : false, 'message': text, 'msgid': stanza.getAttribute('id') || original_stanza.getAttribute('id'), 'references': stanza_utils.getReferences(stanza),