summary refs log tree commit diff
path: root/changelog.d/10922.bugfix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix getTurnServer response: return an integer ttl (#10922)Lukas Lihotzki2021-09-301-0/+1
`ttl` must be an integer according to the OpenAPI spec: https://github.com/matrix-org/matrix-doc/blob/old_master/data/api/client-server/voip.yaml#L70 True division (`/`) returns a float instead (`"ttl": 7200.0`). Floor division (`//`) returns an integer, so the response is spec compliant. Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>