Skip to content

Commit 6b8a9b0

Browse files
committed
移除prev选项
1 parent 73617e8 commit 6b8a9b0

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

proto

Submodule proto updated 1 file

service/msap/msap.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ func sync(c *gin.Context) {
157157
groupID := c.GetInt64("groupid")
158158
lastMsgIDStr := c.Query("msgid")
159159
startSync := c.Query("sync") != "false"
160-
usePrev := c.Query("prev") == "true"
161160
msgLimitStr := c.Query("limit")
162161
if msgLimitStr == "" {
163162
msgLimitStr = "128"
@@ -211,7 +210,6 @@ func sync(c *gin.Context) {
211210
req := &pb.SyncMessageRequest{
212211
Groupid: groupID,
213212
LastMsgid: msgid,
214-
Prev: usePrev,
215213
Sync: startSync,
216214
Limit: msgLimit,
217215
}

0 commit comments

Comments
 (0)