Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set self.use_ipv6 = False before connecting.
Fixes issue #175
|
|
Conflicts:
sleekxmpp/basexmpp.py
|
|
|
|
The new data interfaces were deleting the actual error conditions if
they were set afterward with falsy data.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It does not auto-retrieve and store avatars yet, but everything is there
to do so.
|
|
|
|
Using the special language value '*' will return a dictionary of all
such elements keyed by language.
>>> msg = Message()
>>> msg['body'] = 'Hi!'
>>> msg['body|sv'] = 'Hej!'
>>> print(msg)
'<message xmlns="jabber:client">
<body>Hi!</body>
<body xml:lang="sv">Hej!</body>
</message>'
>>> print(msg['body|*'])
OrderedDict(
('', 'Hi!'),
('sv', 'Hej!'))
Remaining items:
- Stanza path matching does not support language specifiers for normal
interfaces, only for plugins.
|
|
|
|
Remaining items are suitable default actions for language supporting
interfaces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It is technically obsolete now, but remains because it set a default
subscription type of 'subscribe'.
|
|
|