╭ changed ─────────────╮ │src/ui/Repo/Issues.zig│ ╰──────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │1175 if (comptime wasm) return; │ │1176 const io = self.session.io orelse return; │ │1177 const src = self.data.repo_source orelse return; │ │1178 + const author_email = (try self.session.eventAuthorEmail()) orelse return; │ │1179 │ │1180 const form = self.issueForm(); │ │1181 const title_input = &form.children.values()[title_field_index].widget.text_input;│ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────╮ │1198 const event = evt.EventWithId{ │ │1199 .id = event_id_hex, │ │1200 .timestamp = @intCast(std.Io.Timestamp.now(io, .real).toSeconds()),│ │1200 - .author_email = try self.session.userEmail(), │ │1201 + .author_email = author_email, │ │1202 .event = .{ .issue = .{ │ │1203 .title = title, │ │1204 .description = description, │ ╰─────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────╮ │1233 const io = self.session.io orelse return; │ │1234 const src = self.data.repo_source orelse return; │ │1235 const entry = self.data.selectedIssue() orelse return; │ │1236 + const author_email = (try self.session.eventAuthorEmail()) orelse return; │ │1237 │ │1238 const form = self.issueForm(); │ │1239 const title_input = &form.children.values()[title_field_index].widget.text_input;│ ╰───────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────╮ │1261 .title = title, │ │1262 .tags = tags, │ │1263 .description = description, │ │1262 - } }, try self.session.userEmail()),│ │1264 + } }, author_email), │ │1265 } │ │1266 }, │ │1267 } │ ╰─────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────╮ │1279 const src = self.data.repo_source orelse return; │ │1280 const sel = self.detailed_index[index] orelse return; │ │1281 const entry = self.window(index).issues[sel]; │ │1282 + const author_email = (try self.session.eventAuthorEmail()) orelse return;│ │1283 │ │1284 const status: evt.Issue.Status = switch (entry.issue.event.status) { │ │1285 .open => .closed, │ ╰───────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │1294 var any_repo = try rp.AnyRepo(repo_kind, .{}).open(io, allocator, .{ .path = src.path }); │ │1295 defer any_repo.deinit(io, allocator); │ │1296 switch (any_repo) { │ │1294 - inline else => |*repo| try evt.Issue.update(repo_kind, repo.self_repo_opts, io, allocator, repo, &id_bytes, .{ .status = status }, try self.session.userEmail()),│ │1297 + inline else => |*repo| try evt.Issue.update(repo_kind, repo.self_repo_opts, io, allocator, repo, &id_bytes, .{ .status = status }, author_email), │ │1298 } │ │1299 }, │ │1300 } │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯