add updatets

This commit is contained in:
sawka 2023-03-28 01:05:01 -07:00
parent 50caeee5c2
commit 6753f5eaf4
2 changed files with 2 additions and 0 deletions

View File

@ -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:

View File

@ -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"`