Skip to content

Seems matrix protocol does not handle `floats` in event data

Seems matrix protocol does not handle floats in event data

-> should investigate more what is the cause of this issue (is it our app? matrix?? json???)

Thankfully, first google results are matrix related!

Seems to come from here https://gitlab.com/sctlib/matrix-room-element/-/blob/main/src/api.js#L260-267

and looks like we could remove "specific event names" (at least non default matrix, like the hard-codded libli).

But it is so currently, to allow the matrix-send-event element to send custom event (js/json objects)

→ to improve!

Found while working on posting game results to a matrix room

Edited by 4www
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information