Bumped LargeThreshold up to 100 when enabled, to match client behavor
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Discord.Net.WebSockets
|
|||||||
msg.Payload.Token = token;
|
msg.Payload.Token = token;
|
||||||
msg.Payload.Properties["$device"] = "Discord.Net";
|
msg.Payload.Properties["$device"] = "Discord.Net";
|
||||||
if (_client.Config.UseLargeThreshold)
|
if (_client.Config.UseLargeThreshold)
|
||||||
msg.Payload.LargeThreshold = 50;
|
msg.Payload.LargeThreshold = 100;
|
||||||
msg.Payload.Compress = true;
|
msg.Payload.Compress = true;
|
||||||
QueueMessage(msg);
|
QueueMessage(msg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user