mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 11:36:44 +08:00
test: push log add
This commit is contained in:
parent
4b77839202
commit
78cab78197
@ -88,11 +88,12 @@ func (s *Server) SuperGroupOnlineBatchPushOneMsg(ctx context.Context, req *msgga
|
|||||||
}
|
}
|
||||||
clients, ok := s.LongConnServer.GetUserAllCons(v)
|
clients, ok := s.LongConnServer.GetUserAllCons(v)
|
||||||
if !ok {
|
if !ok {
|
||||||
|
log.ZDebug(ctx, "push user not online", "userID", v)
|
||||||
tempT.Resp = resp
|
tempT.Resp = resp
|
||||||
singleUserResult = append(singleUserResult, tempT)
|
singleUserResult = append(singleUserResult, tempT)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.ZDebug(ctx, "SuperGroupOnlineBatchPushOneMsg", "clients", clients)
|
log.ZDebug(ctx, "push user online", "clients", clients, "userID", v)
|
||||||
for _, client := range clients {
|
for _, client := range clients {
|
||||||
if client != nil {
|
if client != nil {
|
||||||
temp := &msggateway.SingleMsgToUserPlatform{
|
temp := &msggateway.SingleMsgToUserPlatform{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user