1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 23:22:55 +08:00

Use IEnumable instead of List

This commit is contained in:
miterosan 2018-04-08 15:01:14 +02:00
parent c937789684
commit f1696eae92

View File

@ -10,10 +10,10 @@ namespace osu.Game.Online.API.Requests
{
public class GetChannelMessagesRequest : APIRequest<List<Message>>
{
private readonly List<ChannelChat> channels;
private readonly IEnumerable<ChannelChat> channels;
private long? since;
public GetChannelMessagesRequest(List<ChannelChat> channels, long? sinceId)
public GetChannelMessagesRequest(IEnumerable<ChannelChat> channels, long? sinceId)
{
this.channels = channels;
since = sinceId;