Wire up user message handling in OneService event handler.

This commit is contained in:
Adam Ierymenko 2017-01-11 17:20:43 -08:00
parent d301540d92
commit d4321cdd41

View File

@ -1477,6 +1477,13 @@ public:
}
} break;
case ZT_EVENT_USER_MESSAGE: {
const ZT_UserMessage *um = reinterpret_cast<const ZT_UserMessage *>(metaData);
if ((um->typeId == ZT_SOFTWARE_UPDATE_USER_MESSAGE_TYPE)&&(_updater)) {
_updater->handleSoftwareUpdateUserMessage(um->origin,um->data,um->length);
}
} break;
default:
break;
}