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

(cherry picked from commit 7cc4ac813b)
pull/3749/head
buvidk1234 2 weeks ago committed by withchao
parent 588b189efc
commit bc21c16ef2

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

Loading…
Cancel
Save