mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-04 03:13:15 +08:00
fix: remove unnecessary contents.
This commit is contained in:
parent
6b41879387
commit
a5b471c50c
@ -178,9 +178,6 @@ func (s *authServer) forceKickOff(ctx context.Context, userID string, platformID
|
||||
if err != nil && err != redis.Nil {
|
||||
return err
|
||||
}
|
||||
if m == nil {
|
||||
return errs.New("token map is empty").Wrap()
|
||||
}
|
||||
for k := range m {
|
||||
m[k] = constant.KickedToken
|
||||
log.ZDebug(ctx, "set token map is ", "token map", m, "userID",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user