From d4321cdd41c74d3aa51e5224a0b3b7782da28ce6 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 11 Jan 2017 17:20:43 -0800 Subject: [PATCH] Wire up user message handling in OneService event handler. --- service/OneService.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/service/OneService.cpp b/service/OneService.cpp index 2ff02254b..9ee05f96c 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -1477,6 +1477,13 @@ public: } } break; + case ZT_EVENT_USER_MESSAGE: { + const ZT_UserMessage *um = reinterpret_cast(metaData); + if ((um->typeId == ZT_SOFTWARE_UPDATE_USER_MESSAGE_TYPE)&&(_updater)) { + _updater->handleSoftwareUpdateUserMessage(um->origin,um->data,um->length); + } + } break; + default: break; }