Remove unnecessary await statement

This commit is contained in:
JC Brand 2019-12-19 13:12:12 +01:00
parent da319604b6
commit 9b4276721c

View File

@ -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),