From 96a3ae01c757f1d2c9e457d638ce3a87f9706f64 Mon Sep 17 00:00:00 2001 From: automated-signal <37887102+automated-signal@users.noreply.github.com> Date: Wed, 18 Mar 2026 13:25:51 -0500 Subject: [PATCH] Fix hasDraft length checks Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com> --- ts/util/hasDraft.std.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/util/hasDraft.std.ts b/ts/util/hasDraft.std.ts index 48427b15b8..b1d4f9ff4b 100644 --- a/ts/util/hasDraft.std.ts +++ b/ts/util/hasDraft.std.ts @@ -10,8 +10,8 @@ export function hasDraft( > ): boolean { return ( - (attrs.draft != null && attrs.draft.length > 1) || - (attrs.draftAttachments != null && attrs.draftAttachments.length > 1) || + (attrs.draft != null && attrs.draft.length > 0) || + (attrs.draftAttachments != null && attrs.draftAttachments.length > 0) || attrs.quotedMessageId != null ); }