From c42f379ad3ae25eec94404c8e64ea19c9921f03a Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 15 Aug 2026 15:58:32 -0700 Subject: Your own profile carries the exit: Log out signs the session off entirely, distinct from the padlock's lock-in-place Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv --- src/features/messages.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/features') diff --git a/src/features/messages.js b/src/features/messages.js index 4c3a8e1..a6cc1e1 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -1454,6 +1454,10 @@ export function messagesFeature(ctx) { noteRow(pk, ev, name), ]))); })(), + mine ? h('button', { + class: 'btn-ghost btn-block', style: 'color:var(--red,#c0392b)', + onClick: () => { ui.profilePk = null; ui.profEdit = null; ctx.logout && ctx.logout(); }, + }, t('logout')) : null, h('button', { class: 'btn-ghost btn-block', onClick: () => { ui.profilePk = null; ui.profEdit = null; render(); } }, t('back'))); } -- cgit v1.2.3