Commit 9b427672 authored by JC Brand's avatar JC Brand

Remove unnecessary await statement

parent da319604
...@@ -298,7 +298,7 @@ const stanza_utils = { ...@@ -298,7 +298,7 @@ const stanza_utils = {
'chat_state': stanza_utils.getChatState(stanza), 'chat_state': stanza_utils.getChatState(stanza),
'is_archived': stanza_utils.isArchived(original_stanza), 'is_archived': stanza_utils.isArchived(original_stanza),
'is_delayed': !!delay, 'is_delayed': !!delay,
'is_only_emojis': text ? await u.isOnlyEmojis(text) : false, 'is_only_emojis': text ? u.isOnlyEmojis(text) : false,
'message': text, 'message': text,
'msgid': stanza.getAttribute('id') || original_stanza.getAttribute('id'), 'msgid': stanza.getAttribute('id') || original_stanza.getAttribute('id'),
'references': stanza_utils.getReferences(stanza), 'references': stanza_utils.getReferences(stanza),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment