Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow SyncResponse state events to be optional #219

Merged
merged 1 commit into from
Oct 22, 2022

Conversation

ouchadam
Copy link
Owner

  • dendrite can omit the state field from the sync response
19:53:34.590  W  Caused by: kotlinx.serialization.MissingFieldException: Field 'state' is required for type with serial name 'app.dapk.st.matrix.sync.internal.request.ApiSyncRoom', but it was missing
19:53:34.591  W  	at kotlinx.serialization.internal.PluginExceptionsKt.throwMissingFieldException(PluginExceptions.kt:20)
19:53:34.591  W  	at app.dapk.st.matrix.sync.internal.request.ApiSyncRoom.<init>(ApiSyncResponse.kt:53)
19:53:34.591  W  	at app.dapk.st.matrix.sync.internal.request.ApiSyncRoom$$serializer.deserialize(ApiSyncResponse.kt:53)
19:53:34.591  W  	at app.dapk.st.matrix.sync.internal.request.ApiSyncRoom$$serializer.deserialize(ApiSyncResponse.kt:53)
19:53:34.591  W  	at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:70)
19:53:34.591  W  	... 65 more

- dendrite can omit the state field from the sync response
@github-actions
Copy link
Contributor

APK Size: 1.97 MB

@ouchadam ouchadam merged commit 3517cf4 into main Oct 22, 2022
@ouchadam ouchadam deleted the bug/dendrite-sync-error branch October 22, 2022 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant