fix waiting for this message (#966)

This commit is contained in:
LightningNeko
2021-12-04 17:17:14 -03:00
committed by GitHub
parent 78fd72c8e5
commit e20e479d74

View File

@@ -266,8 +266,8 @@ export const makeMessagesSocket = (config: SocketConfig) => {
if(!participant) {
const participantsList = groupData.participants.map(p => p.id)
const devices = await getUSyncDevices(participantsList, false)
devices.push(...devices)
const additionalDevices = await getUSyncDevices(participantsList, false)
devices.push(...additionalDevices)
}
const encSenderKeyMsg = encodeWAMessage({