From 6753f5eaf4dcf969aedb4b92406506d5b23d40fd Mon Sep 17 00:00:00 2001 From: sawka Date: Tue, 28 Mar 2023 01:05:01 -0700 Subject: [PATCH] add updatets --- pkg/pcloud/pcloud.go | 1 + pkg/pcloud/pclouddata.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/pcloud/pcloud.go b/pkg/pcloud/pcloud.go index 9c26a18d..c31d95f5 100644 --- a/pkg/pcloud/pcloud.go +++ b/pkg/pcloud/pcloud.go @@ -192,6 +192,7 @@ func makeWebShareUpdate(ctx context.Context, update *sstore.ScreenUpdateType) (* LineId: update.LineId, UpdateId: update.UpdateId, UpdateType: update.UpdateType, + UpdateTs: update.UpdateTs, } switch update.UpdateType { case sstore.UpdateType_ScreenNew: diff --git a/pkg/pcloud/pclouddata.go b/pkg/pcloud/pclouddata.go index 102fe76d..e9d92550 100644 --- a/pkg/pcloud/pclouddata.go +++ b/pkg/pcloud/pclouddata.go @@ -27,6 +27,7 @@ type WebShareUpdateType struct { LineId string `json:"lineid"` UpdateId int64 `json:"updateid"` UpdateType string `json:"updatetype"` + UpdateTs int64 `json:"updatets"` Screen *WebShareScreenType `json:"screen,omitempty"` Line *WebShareLineType `json:"line,omitempty"`