mirror of
https://github.com/tuskyapp/Tusky
synced 2025-02-09 18:20:45 +01:00
add default value to Translation.mediaAttachments to fix translation on some servers (#4422)
see https://github.com/tuskyapp/Tusky/pull/4307#issuecomment-2093827027
This commit is contained in:
parent
7e9e729331
commit
dc4fd8f1d0
@ -21,7 +21,7 @@ data class Translation(
|
||||
val spoilerText: String? = null,
|
||||
val poll: TranslatedPoll? = null,
|
||||
@Json(name = "media_attachments")
|
||||
val mediaAttachments: List<MediaTranslation>,
|
||||
val mediaAttachments: List<MediaTranslation> = emptyList(),
|
||||
@Json(name = "detected_source_language")
|
||||
val detectedSourceLanguage: String,
|
||||
val provider: String,
|
||||
|
Loading…
x
Reference in New Issue
Block a user