diff --git a/modules/chat/api_send.go b/modules/chat/api_send.go index 028dfd5c1..0057b1fae 100644 --- a/modules/chat/api_send.go +++ b/modules/chat/api_send.go @@ -93,6 +93,6 @@ func (this *apiComp) Send(session comm.IUserSession, req *pb.ChatSendReq) (code this.module.PushToUsers(userexpand.Chatchannel, msg) break } - session.SendMsg(string(this.module.GetType()), "send", &pb.ChatSendResp{}) + session.SendMsg(string(this.module.GetType()), "send", &pb.ChatSendResp{Issucc: true}) return }