online status

pull/2393/head
withchao 1 year ago
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…
Cancel
Save