Browse Source

Dont request offline users if not in any large servers

tags/docs-0.9
RogueException 9 years ago
parent
commit
d11d9c8047
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/Discord.Net/DiscordClient.cs

+ 2
- 1
src/Discord.Net/DiscordClient.cs 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();


Loading…
Cancel
Save