Skip to content

Fix activity game party size exploit/bug

Mateusz Brawański requested to merge github/fork/uwx/patch-92 into master

Created by: uwx

Summary

Fixes an unintuitive error when deserializing malformed rich presence in activity.

Details

The error happened due to bad Discord documentation. Party size is mislabeled as "integer" in the docs, which led to the bad implementation on our side. The exception is triggered by JSON.NET trying to convert a long to int.

Changes proposed

  • Change party size Int32 => Int64

Merge request reports

Loading