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