mathieui
dc4b1c7367
XEP-0115: fix a missing await in caps fetching
2023-01-30 20:37:16 +01:00
mathieui
8828a5b99d
XEP-0115: add a broadcast parameter to update_caps
...
and do not send a presence after updating if it is false
2021-04-19 23:17:10 +02:00
mathieui
ad2673fd2c
XEP-0115: remove wrong coroutine=True argument
2021-03-09 20:02:16 +01:00
mathieui
4960cffcb4
XEP-0115: API changes
...
- ``get_verstring``, ``get_caps`` are now coroutines.
- ``assign_verstring``, ``cache_caps`` now return a Future.
side-effect: fix supports() and has_identity() broken since forever
2021-02-26 00:08:56 +01:00
mathieui
bbd351e9c1
global: rewrite copyright notice to use comments
2021-02-05 20:46:18 +01:00
aearil
f90713cb9e
Fix 'from' attribute missing for ComponentXMPP Disco IQ
...
Fixes #3455
This reuses the 'to' attribute of the received presence as a 'from' for
the Disco IQ. I don't know if this is the best way to do it, but in
testing with a simple component it fixed the error.
Also I'm not sure whether pres['to'] would also be valid when
is_component is False.
2020-08-05 20:35:30 -04:00
Emmanuel Gil Peyrot
3502480384
Switch from @asyncio.coroutine to async def everywhere.
2018-07-01 18:46:33 +02:00
Emmanuel Gil Peyrot
128cc2eeb4
XEP-0115: Use the new cache system.
2018-03-31 00:25:28 +02:00
mathieui
e177726387
Fix usage of the 0004 plugin interface
...
form['fields'] is an ordered list of fields while most plugins expect a
dict there. Fixes, among other things, a caps bug.
2018-02-11 16:42:59 +01:00
Emmanuel Gil Peyrot
f252be9b6d
XEP-0115: Fix typo.
2018-01-05 18:03:42 +01:00
Emmanuel Gil Peyrot
dcacc7d7d5
sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py
2016-10-22 13:21:44 +01:00
mathieui
f7164d35d2
Add a wrapper to get_info/get_items functions
...
(and fix caps in the process)
2015-06-21 16:23:47 +02:00
mathieui
6408c5a747
XEP-0115: fix a handler which expected an iq to block
2015-02-24 22:46:04 +01:00
Florent Le Coz
ab03ad54aa
Fix the iq.send() function, and a bunch of places where it is called
...
This is a big-and-dirty commit with a bunch of cleanup, maybe breaking a few
things, and not fixing all iq.send() calls yet.
2014-07-30 17:52:59 +02:00
Florent Le Coz
373505f483
Clean a new bunch of stuf
2014-07-21 20:32:09 +02:00
Florent Le Coz
5ab77c7452
Rename to slixmpp
2014-07-17 14:19:04 +02:00