mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-07-14 01:54:26 +08:00
chore(msg_gateway): remove redundant codes (#3741)
(cherry picked from commit 7cc4ac813b1faf2b5608bee12381c1726aea8aad)
This commit is contained in:
parent
588b189efc
commit
bc21c16ef2
@ -202,8 +202,6 @@ func (o *OnlineCache) GetUserOnlinePlatform(ctx context.Context, userID string)
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
tmp := make([]int32, len(platformIDs))
|
|
||||||
copy(tmp, platformIDs)
|
|
||||||
return platformIDs, nil
|
return platformIDs, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user