summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance stout <lancestout@gmail.com>2010-05-28 22:26:20 +0800
committerNathan Fritz <fritzy@netflint.net>2010-05-31 05:30:48 +0800
commit938066bd504ea9b1c47c1ead757fac42e1ef5726 (patch)
tree758a9b1a0059c86774dc20f3e3b9e300174c317d /sleekxmpp
parent9fee87c25863956370a36ac87741c1f4cec5e23d (diff)
downloadslixmpp-938066bd504ea9b1c47c1ead757fac42e1ef5726.tar.gz
slixmpp-938066bd504ea9b1c47c1ead757fac42e1ef5726.tar.bz2
slixmpp-938066bd504ea9b1c47c1ead757fac42e1ef5726.tar.xz
slixmpp-938066bd504ea9b1c47c1ead757fac42e1ef5726.zip
Added 'resource-constraint' to the list of error conditions.
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/stanza/error.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/stanza/error.py b/sleekxmpp/stanza/error.py
index f87b6490..1f4b3d88 100644
--- a/sleekxmpp/stanza/error.py
+++ b/sleekxmpp/stanza/error.py
@@ -11,7 +11,7 @@ class Error(ElementBase):
namespace = 'jabber:client'
name = 'error'
plugin_attrib = 'error'
- conditions = set(('bad-request', 'conflict', 'feature-not-implemented', 'forbidden', 'gone', 'item-not-found', 'jid-malformed', 'not-acceptable', 'not-allowed', 'not-authorized', 'payment-required', 'recipient-unavailable', 'redirect', 'registration-required', 'remote-server-not-found', 'remote-server-timeout', 'service-unavailable', 'subscription-required', 'undefined-condition', 'unexpected-request'))
+ conditions = set(('bad-request', 'conflict', 'feature-not-implemented', 'forbidden', 'gone', 'item-not-found', 'jid-malformed', 'not-acceptable', 'not-allowed', 'not-authorized', 'payment-required', 'recipient-unavailable', 'redirect', 'registration-required', 'remote-server-not-found', 'remote-server-timeout', 'resource-constraint', 'service-unavailable', 'subscription-required', 'undefined-condition', 'unexpected-request'))
interfaces = set(('code', 'condition', 'text', 'type'))
types = set(('cancel', 'continue', 'modify', 'auth', 'wait'))
sub_interfaces = set(('text',))