mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-06-29 14:28:16 +08:00
chore(msg_gateway): remove redundant codes
This commit is contained in:
parent
1036e81eb4
commit
4df5830bb1
@ -214,8 +214,6 @@ func (o *defaultOnlineCache) GetUserOnlinePlatform(ctx context.Context, userID s
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
tmp := make([]int32, len(platformIDs))
|
||||
copy(tmp, platformIDs)
|
||||
return platformIDs, nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user