mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
online status
This commit is contained in:
parent
c1967a63ca
commit
b53a26d2ca
@ -20,7 +20,9 @@ func (ws *WsServer) SubscriberUserOnlineStatusChanges(rdb redis.UniversalClient)
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if ws.clients.RecvSubChange(userID, platformIDs) {
|
if ws.clients.RecvSubChange(userID, platformIDs) {
|
||||||
log.ZDebug(ctx, "receive subscription message and go back online", "userID", userID)
|
log.ZDebug(ctx, "gateway receive subscription message and go back online", "userID", userID, "platformIDs", platformIDs)
|
||||||
|
} else {
|
||||||
|
log.ZDebug(ctx, "gateway ignore user online status changes", "userID", userID, "platformIDs", platformIDs)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user