diff options
Diffstat (limited to 'runtime/daemon.zig')
| -rw-r--r-- | runtime/daemon.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/daemon.zig b/runtime/daemon.zig index 7ae0d8b5..595d5107 100644 --- a/runtime/daemon.zig +++ b/runtime/daemon.zig @@ -466,7 +466,8 @@ pub const Note = union(enum) { replica: Joining, }; -pub const Joining = struct { fd: c_int, view: ?u8 = null }; +/// `own`: a pair's first client, taking the session's view (Peers.viewFor). +pub const Joining = struct { fd: c_int, view: ?u8 = null, own: bool = false }; /// Where every note the daemon sends goes, once `watch` has started the /// reader: the session loop's, before its first step, until its state |
