Commit graph

5 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
bcd42a26e3 macros: Use a nicer syntax when declaring attributes.
The previous version had a => required|optional|default token, this was
duplicating information for Option types and didn’t look very good.

This new version looks like a type, which can be either Required<_>,
Option<_> or Default<_>, and means the same thing.
2019-02-24 20:26:42 +01:00
Emmanuel Gil Peyrot
d60feffc22 pubsub: Add a PubSubPayload trait. 2019-01-27 17:40:46 +01:00
Emmanuel Gil Peyrot
376fa9f92e avatar: Fix parsing of avatar data containing whitespace in the base64. 2019-01-27 17:17:12 +01:00
Emmanuel Gil Peyrot
b6c7a06edd avatar: Fix build with --features=disable-validation. 2019-01-25 03:45:48 +01:00
Emmanuel Gil Peyrot
35fccafc09 avatar: Add a new XEP-0084 parser. 2019-01-25 03:34:23 +01:00