From 3b7c6e7aaa17b8eab29c23d9014b971de7af1027 Mon Sep 17 00:00:00 2001 From: Pedro Dias Date: Mon, 22 Mar 2021 01:58:00 -0300 Subject: [PATCH] Update 6.MessagesSend.ts (#408) --- src/WAConnection/6.MessagesSend.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WAConnection/6.MessagesSend.ts b/src/WAConnection/6.MessagesSend.ts index f4e7c9a..37a56c3 100644 --- a/src/WAConnection/6.MessagesSend.ts +++ b/src/WAConnection/6.MessagesSend.ts @@ -62,7 +62,7 @@ export class WAConnection extends Base { await this.setQuery([ [ 'group', - { id: tag, jid, tyoe: 'prop', author: this.user.jid }, + { id: tag, jid, type: 'prop', author: this.user.jid }, [ [ 'ephemeral', { value: ephemeralExpiration.toString() }, null ] ] ] ], [WAMetric.group, WAFlag.other], tag)