Update hub_server.go

pull/2783/head
OpenIM-Gordon 2 months ago committed by GitHub
parent 9b94063d60
commit 71f328ef94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -155,6 +155,7 @@ func (s *Server) pushToUser(ctx context.Context, userID string, msgData *sdkws.M
(client.IsBackground && client.PlatformID != constant.IOSPlatformID) {
err := client.PushMessage(ctx, msgData)
if err != nil {
log.ZWarn(ctx, "online push msg failed", err, "userID", userID, "platformID", client.PlatformID)
userPlatform.ResultCode = int64(servererrs.ErrPushMsgErr.Code())
} else {
if _, ok := s.pushTerminal[client.PlatformID]; ok {

Loading…
Cancel
Save