╭ changed ───────────────╮ │src/ui/widget/thread.zig│ ╰────────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2704 if (comptime wasm) return; │ │2705 const io = self.session.io orelse return; │ │2706 const src = self.data.repo_source orelse return; │ │2707 - const author = ((try self.session.authorize(self.data.identity, .read)) orelse return).author;│ │2707 + const actor = (try self.session.authorize(self.data.identity, .read)) orelse return; │ │2708 │ │2709 const form = self.threadForm() orelse return; │ │2710 const title_input = try formField(form, "title"); │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2732 .branch => try source.field().text(allocator), │ │2733 }; │ │2734 defer if (source_branch) |branch| allocator.free(branch); │ │2735 - const event_id_hex = Data.create(self.data, self.session, allocator, author, title, labels, description, target_branch, source_branch) catch |err| {│ │2735 + const event_id_hex = Data.create(self.data, self.session, allocator, actor, title, labels, description, target_branch, source_branch) catch |err| { │ │2736 const failure = FeedbackFailure.fromError(err) orelse return err; │ │2737 try self.rememberThreadFeedback(failure, title, labels, description, target_branch); │ │2738 return; │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────╮ │2753 const event = evt.EventWithId{ │ │2754 .id = event_id_hex, │ │2755 .timestamp = @intCast(std.Io.Timestamp.now(io, .real).toSeconds()),│ │2756 - .author = author, │ │2756 + .author = actor.author, │ │2757 .event = @unionInit(evt.Event, @tagName(kind), Event{ │ │2758 .title = title, │ │2759 .description = description, │ ╰─────────────────────────────────────────────────────────────────────────────────────────╯