Dont request offline users if not in any large servers

This commit is contained in:
RogueException
2016-02-13 16:31:50 -04:00
parent 5504d7dde2
commit d11d9c8047

View File

@@ -496,7 +496,8 @@ namespace Discord
var channel = AddPrivateChannel(model.Id, model.Recipient.Id);
channel.Update(model);
}
GatewaySocket.SendRequestMembers(largeServers, "", 0);
if (largeServers.Count > 0)
GatewaySocket.SendRequestMembers(largeServers, "", 0);
if (Config.LogLevel >= LogSeverity.Verbose)
{
stopwatch.Stop();