From 9ea4a0ab1c6bd2983f0ef40637bfff9c005279c9 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 24 May 2015 22:25:51 +0200 Subject: [PATCH] Added missing node-id as this is needed in first announcement. Signed-off-by: Roland Haeder --- .../announcement/class_NodeMessageAnnouncementHandler.php | 1 + .../announcement/class_XmlAnnouncementTemplateEngine.php | 1 + 2 files changed, 2 insertions(+) diff --git a/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php b/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php index 6431bf626..b4e4224be 100644 --- a/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php +++ b/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php @@ -40,6 +40,7 @@ class NodeMessageAnnouncementHandler extends BaseMessageHandler implements Handl XmlAnnouncementTemplateEngine::ANNOUNCEMENT_DATA_INTERNAL_ADDRESS, XmlAnnouncementTemplateEngine::ANNOUNCEMENT_DATA_NODE_STATUS, XmlAnnouncementTemplateEngine::ANNOUNCEMENT_DATA_NODE_MODE, + XmlAnnouncementTemplateEngine::ANNOUNCEMENT_DATA_NODE_ID, XmlAnnouncementTemplateEngine::ANNOUNCEMENT_DATA_SESSION_ID, XmlAnnouncementTemplateEngine::ANNOUNCEMENT_DATA_PRIVATE_KEY_HASH, ); diff --git a/application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php b/application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php index b8849361c..dc2a479e8 100644 --- a/application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php +++ b/application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php @@ -27,6 +27,7 @@ class XmlAnnouncementTemplateEngine extends BaseXmlTemplateEngine implements Com * Some XML nodes must be available for later data extraction */ const ANNOUNCEMENT_DATA_SESSION_ID = 'session-id'; + const ANNOUNCEMENT_DATA_NODE_ID = 'node-id'; const ANNOUNCEMENT_DATA_PRIVATE_KEY_HASH = 'private-key-hash'; const ANNOUNCEMENT_DATA_NODE_STATUS = 'node-status'; const ANNOUNCEMENT_DATA_NODE_MODE = 'node-mode'; -- 2.39.5