Use implicit content hint for sender key distribution messages

This commit is contained in:
Scott Nonnenberg 2022-11-28 15:30:42 -08:00 committed by GitHub
parent ca638dd44f
commit a8ce959405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -297,7 +297,6 @@ async function sendDistributionMessageOrNullMessage(
options: RetryRequestEventData,
didArchive: boolean
): Promise<void> {
const { ContentHint } = Proto.UnidentifiedSenderMessage.Message;
const { groupId, requesterUuid } = options;
let sentDistributionMessage = false;
log.info(`sendDistributionMessageOrNullMessage/${logId}: Starting...`);
@ -334,7 +333,6 @@ async function sendDistributionMessageOrNullMessage(
await handleMessageSend(
messaging.sendSenderKeyDistributionMessage(
{
contentHint: ContentHint.RESENDABLE,
distributionId,
groupId,
identifiers: [requesterUuid],