From 01b04d7dd2e1355820c3affd0fea713a2dd984ab Mon Sep 17 00:00:00 2001 From: Mikhail Rakhmanov Date: Thu, 3 Apr 2025 14:45:07 +0200 Subject: [PATCH] Correctly send object type --- commonspace/sync/objectsync/objectmessages/headupdate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commonspace/sync/objectsync/objectmessages/headupdate.go b/commonspace/sync/objectsync/objectmessages/headupdate.go index d667c9dd..e8510f0e 100644 --- a/commonspace/sync/objectsync/objectmessages/headupdate.go +++ b/commonspace/sync/objectsync/objectmessages/headupdate.go @@ -100,7 +100,7 @@ func (h *HeadUpdate) ProtoMessage() (proto.Message, error) { SpaceId: h.Meta.SpaceId, Payload: payload, ObjectId: h.Meta.ObjectId, - ObjectType: h.objectType, + ObjectType: h.Update.ObjectType(), }, nil } return NewMessage(), nil