From b720ed7bd511e4ec17c4ecb021073778da126cba Mon Sep 17 00:00:00 2001 From: Alvaro <110414366+alvaro-signal@users.noreply.github.com> Date: Mon, 28 Nov 2022 15:34:49 -0700 Subject: [PATCH] Added story identifier when debug logging Co-authored-by: Jamie Kyle --- ts/textsecure/SendMessage.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/textsecure/SendMessage.ts b/ts/textsecure/SendMessage.ts index b4ed0306d5..088a512670 100644 --- a/ts/textsecure/SendMessage.ts +++ b/ts/textsecure/SendMessage.ts @@ -356,7 +356,9 @@ class Message { const placeholders = this.body.match(/\uFFFC/g); const placeholderCount = placeholders ? placeholders.length : 0; log.info( - `Sending a message with ${mentionCount} mentions and ${placeholderCount} placeholders` + `Sending a message with ${mentionCount} mentions and ${placeholderCount} placeholders${ + this.storyContext ? `, story: ${this.storyContext.timestamp}` : '' + }` ); } if (this.flags) {