╭ changed ──────────────╮ │src/ui/Unauthorized.zig│ ╰───────────────────────╯ ╭──────────────────────────────────────────────────────────────╮ │19 center: ui.widget.Center, │ │20 │ │21 const message = │ │22 - \\you must be logged in to view this. │ │22 + \\you can't view this. │ │23 \\ │ │24 \\here's an emoticon from the early 2000s instead:│ │25 \\ │ ╰──────────────────────────────────────────────────────────────╯ ╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────────╮ │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) { │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────╯