make Status.filtered nullable to make some weird api implementations work again (#4426)
closes https://github.com/tuskyapp/Tusky/issues/4424
This commit is contained in:
parent
82817a089b
commit
3736034952
3 changed files with 5 additions and 4 deletions
|
|
@ -56,8 +56,9 @@ data class Status(
|
|||
val card: Card? = null,
|
||||
/** ISO 639 language code for this status. */
|
||||
val language: String? = null,
|
||||
/** If the current token has an authorized user: The filter and keywords that matched this status. */
|
||||
val filtered: List<FilterResult> = emptyList()
|
||||
/** If the current token has an authorized user: The filter and keywords that matched this status.
|
||||
* Iceshrimp and maybe other implementations explicitly send filtered=null so we can't default to empty list. */
|
||||
val filtered: List<FilterResult>? = null
|
||||
) {
|
||||
|
||||
val actionableId: String
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue