You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
381 B
14 lines
381 B
package msg
|
|
|
|
import (
|
|
"context"
|
|
|
|
pbMsg "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/msg"
|
|
)
|
|
|
|
func (m *msgServer) GetConversationMaxSeq(ctx context.Context, req *pbMsg.GetConversationMaxSeqReq) (resp *pbMsg.GetConversationMaxSeqResp, err error) {
|
|
resp = &pbMsg.GetConversationMaxSeqResp{}
|
|
resp.MaxSeq, err = m.MsgDatabase.GetMaxSeq(ctx, req.ConversationID)
|
|
return resp, err
|
|
}
|