╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────╮ │1595 } │ │1596 │ │1597 // the new-thread form, or — on an edit, comment, or resolve url — that form in│ │1598 - // its place, prefilled with the selected thread's content. a │ │1599 - // logged-out session can't create events, so the unauthorized view │ │1600 - // stands in. │ │1601 - if (session.data.host_kind == .local or session.data.user_id != null) { │ │1598 + // its place, prefilled with the selected thread's content. a viewer │ │1599 + // who can't write in this tab gets the unauthorized view instead, │ │1600 + // while local mode always writes. │ │1601 + if (session.data.host_kind == .local or data.viewer != null) { │ │1602 if (confirmation(data.view)) |confirmation_kind| { │ │1603 const aa = session.page_arena.allocator(); │ │1604 const route = switch (confirmation_kind) { │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────╯