|
|
@@ -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 |
|
|
|
} |
|
|
|