DengBiao 1 anno fa
parent
commit
69eddab08c
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. +2
    -3
      internal/logic/api/logic_ext.go

+ 2
- 3
internal/logic/api/logic_ext.go Vedi 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
}


Caricamento…
Annulla
Salva