fix: envelope for all groups message is CLOSED_GROUP

pull/3281/head
Audric Ackermann 6 months ago
parent df2a9dd13f
commit 9a627e719d
No known key found for this signature in database

@ -40,7 +40,7 @@ async function makeGroupMessageSubRequest(
const messagesToEncrypt: Array<StoreGroupExtraData> = compactedMessages.map(updateMessage => {
const wrapped = MessageWrapper.wrapContentIntoEnvelope(
SignalService.Envelope.Type.SESSION_MESSAGE,
SignalService.Envelope.Type.CLOSED_GROUP_MESSAGE,
undefined,
updateMessage.createAtNetworkTimestamp, // message is signed with this timestamp
updateMessage.plainTextBuffer()

Loading…
Cancel
Save