Don't include expireTimer with reaction sends

This commit is contained in:
Scott Nonnenberg 2022-10-07 15:11:13 -07:00 committed by GitHub
parent d114effc03
commit a711ae1c49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,6 +105,7 @@ export async function sendReaction(
return;
}
const expireTimer = messageConversation.get('expireTimer');
const {
allRecipientIdentifiers,
recipientIdentifiersWithoutMe,
@ -123,7 +124,6 @@ export async function sendReaction(
);
}
const expireTimer = message.get('expireTimer');
const profileKey = conversation.get('profileSharing')
? await ourProfileKeyService.get()
: undefined;