Tusky-App-Android/app/src/main/java/com/keylesspalace/tusky/entity
Konrad Pozniak 2a4d60bed8
fix deserializing audio attachments (#4362)
closes #4361 

```
com.squareup.moshi.JsonDataException: Required value 'width' missing at $.statuses[0].media_attachments[0].meta.original
       at com.squareup.moshi.internal.Util.missingProperty(Util.java:660)
       at com.keylesspalace.tusky.entity.Attachment_SizeJsonAdapter.fromJson(Attachment_SizeJsonAdapter.kt:81)
       at com.keylesspalace.tusky.entity.Attachment_SizeJsonAdapter.fromJson(Attachment_SizeJsonAdapter.kt:23)
       at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:41)
       at com.keylesspalace.tusky.entity.Attachment_MetaDataJsonAdapter.fromJson(Attachment_MetaDataJsonAdapter.kt:64)
       at com.keylesspalace.tusky.entity.Attachment_MetaDataJsonAdapter.fromJson(Attachment_MetaDataJsonAdapter.kt:23)
       at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:41)
       at com.keylesspalace.tusky.entity.AttachmentJsonAdapter.fromJson(AttachmentJsonAdapter.kt:66)
       at com.keylesspalace.tusky.entity.AttachmentJsonAdapter.fromJson(AttachmentJsonAdapter.kt:22)
       at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:41)
       at com.squareup.moshi.CollectionJsonAdapter.fromJson(CollectionJsonAdapter.java:81)
       at com.squareup.moshi.CollectionJsonAdapter$2.fromJson(CollectionJsonAdapter.java:55)
       at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:41)
       at com.keylesspalace.tusky.entity.StatusJsonAdapter.fromJson(StatusJsonAdapter.kt:195)
       at com.keylesspalace.tusky.entity.StatusJsonAdapter.fromJson(StatusJsonAdapter.kt:26)
       at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:41)
       at com.squareup.moshi.CollectionJsonAdapter.fromJson(CollectionJsonAdapter.java:81)
       at com.squareup.moshi.CollectionJsonAdapter$2.fromJson(CollectionJsonAdapter.java:55)
       at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:41)
       at com.keylesspalace.tusky.entity.SearchResultJsonAdapter.fromJson(SearchResultJsonAdapter.kt:51)
       at com.keylesspalace.tusky.entity.SearchResultJsonAdapter.fromJson(SearchResultJsonAdapter.kt:21)
       at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:41)
       at retrofit2.converter.moshi.MoshiResponseBodyConverter.convert(MoshiResponseBodyConverter.java:46)
       at retrofit2.converter.moshi.MoshiResponseBodyConverter.convert(MoshiResponseBodyConverter.java:27)
       at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:246)
       at retrofit2.OkHttpCall$1.onResponse(OkHttpCall.java:156)
       at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
       at java.lang.Thread.run(Thread.java:1012)
```
2024-04-10 21:47:05 +02:00
..
AccessToken.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Account.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Announcement.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
AppCredentials.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Attachment.kt fix deserializing audio attachments (#4362) 2024-04-10 21:47:05 +02:00
Card.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Conversation.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
DeletedStatus.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Emoji.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Error.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Filter.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
FilterKeyword.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
FilterResult.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
FilterV1.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
HashTag.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Instance.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
InstanceV1.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Marker.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
MastoList.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
MediaUploadResult.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
NewStatus.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Notification.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
NotificationSubscribeResult.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Poll.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Relationship.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Report.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
ScheduledStatus.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
SearchResult.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Status.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
StatusContext.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
StatusEdit.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
StatusParams.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
StatusSource.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
TimelineAccount.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
Translation.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
TrendingTagsResult.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00