Emmanuel Gil Peyrot
96fe2d200e
roster: Fix group serialisation and add a test.
2017-06-25 23:27:38 +01:00
Emmanuel Gil Peyrot
0f297d2d2d
Add a generate_attribute! macro, and use it for the common case.
2017-06-14 00:50:57 +01:00
Emmanuel Gil Peyrot
08ba164073
roster: Add a test for empty name == no name.
2017-05-29 03:42:11 +01:00
Emmanuel Gil Peyrot
7395e4b88f
roster: Make an empty name be None instead.
...
RFC 6121 §2.4.1:
“Implementation Note: Including an empty 'name' attribute is equivalent
to including no 'name' attribute; both actions set the name to the
empty string.”
2017-05-29 03:40:34 +01:00
Emmanuel Gil Peyrot
aae435c4d9
Add a roster parser/serialiser.
2017-05-28 16:30:43 +01:00