Commit graph

8 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
4128c4b9ed chatstates: Add a serialise function. 2017-04-23 03:22:42 +01:00
Emmanuel Gil Peyrot
62d9385728 Make all parsed types implement Clone. 2017-04-21 00:41:15 +01:00
Emmanuel Gil Peyrot
7288c2c74f Import ns itself, and remove the _NS suffix on all namespaces. 2017-04-20 23:16:12 +01:00
Emmanuel Gil Peyrot
861c933c56 body, chatstates: Fix tests. 2017-04-20 00:43:17 +01:00
Emmanuel Gil Peyrot
a9993b1281 Remove the MessagePayload trait, it was a bad idea. 2017-04-20 00:14:47 +01:00
Emmanuel Gil Peyrot
fc7a0517d3 Replace assert!()s with proper errors in parsers. 2017-04-19 23:41:54 +01:00
Emmanuel Gil Peyrot
6a0724d133 Add a MessagePayload trait, and implement it for Body and ChatState. 2017-04-19 23:21:53 +01:00
Emmanuel Gil Peyrot
69f1405b9c Add a chatstate parser. 2017-04-19 19:15:57 +01:00