Commit Graph

19 Commits

Author SHA1 Message Date
Chteufleur 4df4e9cec2 Add support for multi body in message with lang definition. 2016-11-13 20:25:47 +01:00
Chteufleur 0aac61b1cc Add error forbidden. 2016-10-05 21:22:32 +02:00
Chteufleur a52f910d62 Add code error in Error struct. 2016-09-15 09:33:21 +02:00
Chteufleur dacdc4ac04 Add support for chatstates notification (XEP-0085) 2016-09-04 14:52:07 +02:00
Chteufleur d90f7642e3 Add not authorized error condition 2016-07-23 11:58:03 +02:00
Chteufleur 3f618b50f5 Add message type and error condition 2016-07-18 20:12:28 +02:00
Chteufleur 934c81ee39 Add implementation of xep-0070 2016-06-20 21:28:11 +02:00
Chteufleur 23e93d518b Fix typo 2016-05-18 19:13:27 +02:00
Chteufleur e82f10fe48 Add XEP-0092 (Software version) 2016-04-20 22:16:31 +02:00
Chteufleur f7b1e7ecb2 Add params for presence and disco info
- Add Show, Status, Photo and Nick into presence stanza
 - Add Node attribute into DiscoInfo payload
2016-04-20 22:10:37 +02:00
Matt Goodall 9ba9dcbe86 go fix. Clearly, I need to run this more often ;) 2012-07-18 11:40:36 +01:00
Matt Goodall f9302660b0 Convenient method for creating an Iq response. 2012-07-18 11:22:59 +01:00
Matt Goodall 438164a9d9 Better/correct Error type.
XMPP errors are a real pain - they have up to 3 elements. 2 are
XMPP-specific and have one of two namespaces, the other is application
specific. Go's xml package is good, but it's not that good!

So, I've had to handle the error data as a generic Payload string attr
and provide methods for retrieving the bits as conveniently as possible.

Note: there's no application-specific error data yet but it should slot
in ok now.
2012-07-18 11:22:59 +01:00
Matt Goodall e22b95e43e Add way to peek at Iq's payload element. 2012-07-16 16:06:13 +01:00
Matt Goodall ba349b1058 Add Iq.Error and define xml tags for Error type. 2012-07-13 11:22:51 +01:00
Matt Goodall 4759e83863 Add <error/> stanza. 2012-07-09 14:47:50 +01:00
Matt Goodall 381c04b8b3 Pad out the standard XMPP stanzas a bit so they're at least useful. 2012-07-08 23:20:15 +01:00
Matt Goodall c13edc39c2 <message/> and <presence/> stanza shells. 2012-07-08 12:12:14 +01:00
Matt Goodall 300074fb07 <iq/> stanza with generic payload and decode/encode. 2012-07-08 10:13:02 +01:00