diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index 108ec67..cb6433c 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -596,6 +596,10 @@ final class HostConnection { pinnedHost?.relayMembershipToken = membership.token pinnedHost?.relayURL = membership.url } + case .pairingCode(let qr): + // This Mac minted a join code we asked for ("add a device to this mesh") — hand it up + // to RemoteStore for the QR/copy sheet. + callbacks.pairingCodeReceived(qr) case .wireError(let error): if error.code == .channelMismatch { connectivity = .failed(error.message)