From 07ed61cf1cf9fd9edbceb9f3e0a40ebf94d448a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20V=C3=A1rady?= Date: Wed, 11 Dec 2024 19:31:59 +0100 Subject: [PATCH] server: publish Header::machine_id It will be used to filter clients based on their self-advertised name. --- server/src/soap.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/soap.rs b/server/src/soap.rs index 8f78679..8e5f62d 100644 --- a/server/src/soap.rs +++ b/server/src/soap.rs @@ -425,6 +425,10 @@ impl Header { pub fn revision(&self) -> Option<&String> { self.revision.as_ref() } + + pub fn machine_id(&self) -> Option<&String> { + self.machine_id.as_ref() + } } impl Serializable for Header {