get all node online user status

This commit is contained in:
Gordon
2021-11-29 16:26:57 +08:00
parent 0f20e58a46
commit c2a45cdbeb
4 changed files with 100 additions and 1 deletions
+2 -1
View File
@@ -48,8 +48,9 @@ func MsgToUser(sendPbData *pbRelay.MsgToUserReq, OfflineInfo, Options string) {
reply, err := msgClient.MsgToUser(context.Background(), sendPbData)
if err != nil {
log.InfoByKv("push data to client rpc err", sendPbData.OperationID, "err", err)
continue
}
if reply != nil && reply.Resp != nil && err == nil {
if reply != nil && reply.Resp != nil {
wsResult = append(wsResult, reply.Resp...)
}
}