From dc4783dd19d975cf8cf4eff2e462569f23ebc300 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Tue, 17 Sep 2024 14:51:33 -0500 Subject: [PATCH] Clarify logging when receiving stories --- ts/textsecure/MessageReceiver.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ts/textsecure/MessageReceiver.ts b/ts/textsecure/MessageReceiver.ts index 0bccb47e293..08425d07cc4 100644 --- a/ts/textsecure/MessageReceiver.ts +++ b/ts/textsecure/MessageReceiver.ts @@ -1572,7 +1572,7 @@ export default class MessageReceiver !isDeleteForEveryone ) { log.warn( - `${logId}: Dropping story message - story=true on envelope, but message was not a group story send or delete` + `${logId}: Dropping story message - story=true on envelope, but message was not a story send or delete` ); this.removeFromCache(envelope); return { plaintext: undefined, envelope }; @@ -1580,7 +1580,7 @@ export default class MessageReceiver if (!envelope.story && (isGroupStoryReply || isStory)) { log.warn( - `${logId}: Malformed story - story=false on envelope, but was a group story send` + `${logId}: Malformed story - story=false on envelope, but was a story send` ); } @@ -2290,7 +2290,7 @@ export default class MessageReceiver }; if (sentMessage && message.groupV2) { - log.warn(`${logId}: envelope is a sent group story`); + log.info(`${logId}: envelope is a sent group story`); const ev = new SentEvent( { envelopeId: envelope.id, @@ -2322,7 +2322,7 @@ export default class MessageReceiver } if (sentMessage) { - log.warn(`${logId}: envelope is a sent distribution list story`); + log.info(`${logId}: envelope is a sent distribution list story`); const { storyMessageRecipients } = sentMessage; const recipients = storyMessageRecipients ?? []; @@ -2389,7 +2389,7 @@ export default class MessageReceiver return; } - log.warn(`${logId}: envelope is a received story`); + log.info(`${logId}: envelope is a received story`); const ev = new MessageEvent( { envelopeId: envelope.id,