From 886f9d15ba57fe5415f5cb2c5c96a0f2e0fae218 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 28 Jan 2026 16:51:27 +0100 Subject: [PATCH] include datatype to propalgationMessage --- tools/enums.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/enums.go b/tools/enums.go index 1bcda51..46acdc1 100644 --- a/tools/enums.go +++ b/tools/enums.go @@ -140,9 +140,10 @@ func DataTypeList() []DataType { } type PropalgationMessage struct { - User string `json:"user"` - Action PubSubAction `json:"action"` - Payload []byte `json:"payload"` + DataType int `json:"datatype"` + User string `json:"user"` + Action PubSubAction `json:"action"` + Payload []byte `json:"payload"` } type PubSubAction int