From 5d6d7b3a12300fd52e6a5b92a039613bb5dbdd19 Mon Sep 17 00:00:00 2001 From: qydysky Date: Fri, 29 Mar 2024 22:31:34 +0800 Subject: [PATCH] =?utf8?q?Improve=20state=E6=98=BE=E7=A4=BA=E5=BD=95?= =?utf8?q?=E5=88=B6=E7=9A=84common?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Reply/stream.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Reply/stream.go b/Reply/stream.go index d05bbb7..8f9e94b 100644 --- a/Reply/stream.go +++ b/Reply/stream.go @@ -158,6 +158,8 @@ func (link *m4s_link_item) download(reqPool *pool.Buf[reqf.Req], reqConfig reqf. } func (t *M4SStream) MarshalJSON() ([]byte, error) { + t.common.Rev = c.C.Rev + t.common.Watched = c.C.Watched return json.MarshalIndent(t.common, "", " ") } -- 2.39.2