Make timeout field optional for typing notification
Currently, Element iOS app does not work with Conduit. I am using FluffyChat which is available for Android and iOS (latest version installed via TestFlight). The Dart client sends typing notification without the timeout
field. Note that timeout
is optional as per Matrix specification on https://matrix.org/docs/spec/client_server/r0.4.0#m-typing. However the server outputs the following warning message to Admin room and the typing event is not registered. I am on the latest master
branch.
WARN - Deserialization(RequestDeserializationError { inner: Json(Error("missing field timeout
", line: 1, column: 15)), http_request: Request { method: PUT, uri: /_matrix/client/r0/rooms/!XXX/typing/%40example%3Aexample.com, version: HTTP/1.1, headers: {"x-forwarded-for": "XXX", "host": "localhost:8008", "connection": "close", "content-length": "15", "user-agent": "Dart/2.10 (dart:io)", "content-type": "application/json; charset=utf-8", "accept-encoding": "gzip", "authorization": "XXX"}, body: [123, 34, 116, 121, 112, 105, 110, 103, 34, 58, 116, 114, 117, 101, 125] } })