Skip to content

Commit

Permalink
feat: SetUserConversationSeq
Browse files Browse the repository at this point in the history
  • Loading branch information
withchao committed Dec 4, 2024
1 parent 72f393b commit 94103da
Show file tree
Hide file tree
Showing 26 changed files with 594 additions and 265 deletions.
2 changes: 1 addition & 1 deletion auth/auth.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auth/auth_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion conversation/conversation.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion conversation/conversation_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion errinfo/errinfo.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion group/group.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion group/group_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jssdk/jssdk.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

719 changes: 478 additions & 241 deletions msg/msg.pb.go

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions msg/msg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,20 @@ message GetStreamMsgResp {
int64 deadlineTime = 7;
}

message SetUserConversationMaxSeqReq {
string conversationID = 1;
repeated string ownerUserID = 2;
int64 maxSeq = 3;
}
message SetUserConversationMaxSeqResp {}

message SetUserConversationMinSeqReq {
string conversationID = 1;
repeated string ownerUserID = 2;
int64 minSeq = 3;
}
message SetUserConversationMinSeqResp {}

service msg {
//获取最小最大seq(包括用户的,以及指定群组的)
rpc GetMaxSeq(sdkws.GetMaxSeqReq) returns (sdkws.GetMaxSeqResp);
Expand Down Expand Up @@ -426,4 +440,6 @@ service msg {

rpc AppendStreamMsg(AppendStreamMsgReq) returns (AppendStreamMsgResp);
rpc GetStreamMsg(GetStreamMsgReq) returns (GetStreamMsgResp);
rpc SetUserConversationMaxSeq(SetUserConversationMaxSeqReq) returns (SetUserConversationMaxSeqResp);
rpc SetUserConversationMinSeq(SetUserConversationMinSeqReq) returns (SetUserConversationMinSeqResp);
}
78 changes: 77 additions & 1 deletion msg/msg_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion msggateway/msggateway.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion msggateway/msggateway_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion push/push.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion push/push_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion relation/relation.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion relation/relation_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rtc/rtc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rtc/rtc_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdkws/sdkws.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion statistics/statistics.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion third/third.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion third/third_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion user/user.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion user/user_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wrapperspb/wrapperspb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 94103da

Please sign in to comment.