-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Parse roles without a
highlighted
property (#467)
The `highlighted` property on a role may be absent. If it is this breaks account parsing, including accounts in an /api/v2/instance response. This, in turn, breaks determining server capabilities, including whether or not translation is supported. Set the default to `true`, which matches observed Mastodon behaviour.
- Loading branch information
1 parent
415b182
commit 51c64a7
Showing
2 changed files
with
7 additions
and
2 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