Browse Source

update

master
DengBiao 1 year ago
parent
commit
69eddab08c
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      internal/logic/api/logic_ext.go

+ 2
- 3
internal/logic/api/logic_ext.go View File

@@ -2,6 +2,7 @@ package api

import (
"context"
"gim/internal/business/comm/utils"
"gim/internal/logic/app"
"gim/pkg/grpclib"
"gim/pkg/pb"
@@ -76,9 +77,7 @@ func (s *LogicExtServer) RecallMessage(ctx context.Context, in *pb.RecallMessage
return nil, err
}
if in.MessageContentBack != "" {
buf, err := proto.Marshal(&pb.Text{
Text: in.MessageContentBack,
})
buf, err := proto.Marshal(&pb.RECALL{RecallSeq: utils.StrToInt64(in.MessageContentBack)})
if err != nil {
return nil, err
}


Loading…
Cancel
Save