a
This commit is contained in:
@@ -164,7 +164,7 @@ func handleMessages() {
|
|||||||
//读取通道中的消息
|
//读取通道中的消息
|
||||||
msg := <-broadcast
|
msg := <-broadcast
|
||||||
if msg.GroupID == 0 {
|
if msg.GroupID == 0 {
|
||||||
// globals.SugarLogger.Debugf("heart %v", utils.Format4Output(msg, false))
|
globals.SugarLogger.Debugf("heart %v", utils.Format4Output(msg, false))
|
||||||
if clientsHeart[msg.UserID] != nil {
|
if clientsHeart[msg.UserID] != nil {
|
||||||
if err := clientsHeart[msg.UserID].WriteJSON(&model.ImMessageRecord{
|
if err := clientsHeart[msg.UserID].WriteJSON(&model.ImMessageRecord{
|
||||||
Key: "pang",
|
Key: "pang",
|
||||||
|
|||||||
Reference in New Issue
Block a user