1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible
Jonas Schäfer afb48414b6 jabber: Fix joining group chats (#50846)
The previous code was using the legacy Group Chat 1.0 (GC1.0)
protocol to join [XEP-0045 Multi User Chats][1]. The legacy
protocol is described in § 7.2.1 of that document, the current
protocol is described in § 7.2.2.

The legacy protocol has not been in active use for more than ten
years, and servers are fading out support for it because its
presence causes issues (see for example the lengthy discussion
in [2], particularly the part starting with "A MUC
misunderstanding a presence update for a GC1.0 join").

The effect of servers fading out GC1.0 is that jabber.py cannot
send messages to rooms on servers which have done that step any
more.

This commit implements the modern join protocol, restoring
functionality. The modern join protocol is, to my knowledge,
supported by all XMPP servers which are still in use.

Prosody 0.11 is an example of a server implementation which does
not support GC1.0 anymore.

   [1]: https://xmpp.org/extensions/xep-0045.html
   [2]: https://mail.jabber.org/pipermail/standards/2017-October/033501.html
2019-01-14 22:30:48 +01:00
..
cli Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
errors Add new AnsibleTemplateError to more easily catch templating issues (#50563) 2019-01-04 14:33:05 -06:00
executor Close all open filehandle (#50544) 2019-01-11 10:14:08 -05:00
galaxy Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00
inventory Fix reverse_inventory order to work on python3 (#49895) 2018-12-17 15:39:29 -06:00
module_utils Support for NIOS modules to use environment variables in provider (#49056) 2019-01-14 23:25:24 +05:30
modules jabber: Fix joining group chats (#50846) 2019-01-14 22:30:48 +01:00
parsing Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
playbook Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
plugins Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
template Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
utils Support for NIOS modules to use environment variables in provider (#49056) 2019-01-14 23:25:24 +05:30
vars Fix encoding issues with file paths. (#50830) 2019-01-14 13:06:47 -08:00
__init__.py
constants.py become_method: make dzdo more like sudo (#47946) 2018-12-04 18:24:32 -05:00
context.py Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00