summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance stout <lancestout@gmail.com>2010-05-28 22:26:20 +0800
committerThom Nichols <tmnichols@gmail.com>2010-06-01 22:07:53 +0800
commite388680269ea859128835d5d2e778cb8a3d9e8ff (patch)
tree92a1adeec182ed579131cfc53d1c59a71612302f /sleekxmpp
parentbee42e4a2f1ea2d6e65f896e123754947a40ed55 (diff)
downloadslixmpp-e388680269ea859128835d5d2e778cb8a3d9e8ff.tar.gz
slixmpp-e388680269ea859128835d5d2e778cb8a3d9e8ff.tar.bz2
slixmpp-e388680269ea859128835d5d2e778cb8a3d9e8ff.tar.xz
slixmpp-e388680269ea859128835d5d2e778cb8a3d9e8ff.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',))