mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-18 11:06:20 +00:00
Added the error attribute 'code' to the Error object interface.
This commit is contained in:
parent
226b0e4297
commit
040f426f1a
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ class Error(ElementBase):
|
|||
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'))
|
||||
interfaces = set(('condition', 'text', 'type'))
|
||||
interfaces = set(('code', 'condition', 'text', 'type'))
|
||||
types = set(('cancel', 'continue', 'modify', 'auth', 'wait'))
|
||||
sub_interfaces = set(('text',))
|
||||
condition_ns = 'urn:ietf:params:xml:ns:xmpp-stanzas'
|
||||
|
|
Loading…
Reference in a new issue