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

This commit is contained in:
buvidk1234 2026-06-26 16:10:37 +08:00 committed by GitHub
parent b3a7342a42
commit 7cc4ac813b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}