diff options
| author | Adam Soltys <[email protected]> | 2026-09-21 07:21:30 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-21 07:21:30 -0700 |
| commit | 40257dad7978797d5185e796136596ff10b6abec (patch) | |
| tree | 4a81abb0df5f6d97a78cadc00768980db525175f | |
| parent | ff411c6e1eb708e434899f66d66bf242fb576336 (diff) | |
| download | coinosv3-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]>
| -rw-r--r-- | src/features/messages.js | 6 |
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; |
