-
- Downloads
Don't throw error if content is empty
If an Unknown message is being constructed for sending, the content may be empty, since the msgtype and body are exposed as C++ properties. Previously, the to_json function assumed that the content could be parsed as valid json, when in fact an empty content would throw an error.
Please register or sign in to comment