forked from serenity-rs/serenity
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deserialization of
GuildMembersChunkEvent
(serenity-rs#2672)
Specifically, the `members` field was being incorrectly deserialized. In serenity-rs#2287, the logic for collecting the received array of members into a hashmap was removed, meaning the deserializer now looked for a map instead of a sequence, causing deserialization to fail. This PR adds that logic back. Closes serenity-rs#2666
- Loading branch information
1 parent
a13625a
commit e80999f
Showing
3 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters