aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-21 07:21:30 -0700
committerAdam Soltys <[email protected]>2026-09-21 07:21:30 -0700
commit40257dad7978797d5185e796136596ff10b6abec (patch)
tree4a81abb0df5f6d97a78cadc00768980db525175f /src
parentff411c6e1eb708e434899f66d66bf242fb576336 (diff)
downloadcoinosv3-40257dad7978797d5185e796136596ff10b6abec.tar.gz
coinosv3-40257dad7978797d5185e796136596ff10b6abec.zip
Profile: Messages opens the DM even when the profile sits over a thread.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/features/messages.js6
1 files changed, 5 insertions, 1 deletions
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;