Browse Source

Bumped LargeThreshold up to 100 when enabled, to match client behavor

tags/docs-0.9
Brandon Smith 9 years ago
parent
commit
3e5a6b2b32
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/Net/WebSockets/DataWebSocket.cs

+ 1
- 1
src/Discord.Net/Net/WebSockets/DataWebSocket.cs View File

@@ -27,7 +27,7 @@ namespace Discord.Net.WebSockets
msg.Payload.Token = token;
msg.Payload.Properties["$device"] = "Discord.Net";
if (_client.Config.UseLargeThreshold)
msg.Payload.LargeThreshold = 50;
msg.Payload.LargeThreshold = 100;
msg.Payload.Compress = true;
QueueMessage(msg);
}


Loading…
Cancel
Save