From a3dd82d6be22d5874136688f27f58dd9e67971cf Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Thu, 8 May 2025 13:04:22 +0200 Subject: WIP: Acknowledge received commands Event the smallest protocol change has great consequences. Relay events have been reordered to improve forward compatibility. WIP: - xM handling (send) - xA handling (relaySend) - xC: fix connection killing --- xM/main.swift | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xM/main.swift') diff --git a/xM/main.swift b/xM/main.swift index 48f26c4..1235f04 100644 --- a/xM/main.swift +++ b/xM/main.swift @@ -175,6 +175,8 @@ class RelayRPC { let m = RelayCommandMessage(commandSeq: self.commandSeq, data: data) if let callback = callback { self.commandCallbacks[m.commandSeq] = callback + } else { + // TODO(p): Add an empty callback. } var w = RelayWriter() -- cgit v1.2.3-70-g09d2