Compare commits

..

No commits in common. "57b2e587e78363a6e259511e8ede0e67ea57f0e1" and "fad92b5991d4425b371c70b885156691f845c02d" have entirely different histories.

View File

@ -76,7 +76,7 @@ func NewMessage(ctx context.Context, cache *chatCache.ChatCache, sender *account
fmt.Println("NewMessage 6")
//发送websocket消息提醒通知
var notice = dto.MessageListType{}
notice.BuildMessage(resp.Data)
notice.BuildMessage(resp.Data, sender.Role)
fmt.Printf("ws消息提醒:%+v\n", notice)
_, err = consts.ChatRoom.SendSessionMessage(sender, request.SessionId, ws.NewChatMsgType, notice)
if err != nil {