chore(msg_gateway): remove redundant codes (#3741)

(cherry picked from commit 7cc4ac813b1faf2b5608bee12381c1726aea8aad)
This commit is contained in:
buvidk1234 2026-06-26 16:10:37 +08:00 committed by withchao
parent 588b189efc
commit bc21c16ef2

View File

@ -202,8 +202,6 @@ func (o *OnlineCache) GetUserOnlinePlatform(ctx context.Context, userID string)
if err != nil {
return nil, err
}
tmp := make([]int32, len(platformIDs))
copy(tmp, platformIDs)
return platformIDs, nil
}