From 40257dad7978797d5185e796136596ff10b6abec Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 21 Sep 2026 07:21:30 -0700 Subject: Profile: Messages opens the DM even when the profile sits over a thread. Co-Authored-By: Claude Fable 5.1 --- src/features/messages.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/features/messages.js b/src/features/messages.js index 5d22ea2..075f33f 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -5669,7 +5669,11 @@ export function messagesFeature(ctx) { : h('div', { class: 'row gap6 wrap' }, h('button', { class: 'btn-primary grow', onClick: () => { const peer = pk; - ui.profilePk = null; + // leave the thread this profile may sit over too: the + // screen router shows an open thread before the chat, so + // a reply half-typed under their post used to win here + ui.profilePk = null; ui.profOverThread = false; + ui.noteThread = null; ui.userSearch = null; ui.feedEdit = null; ui.chatOpen = true; ui.msgView = 'dm'; ui.msgPeer = peer; -- cgit v1.2.3