community.general/lib/ansible/modules/notification
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
..
__init__.py
_osx_say.py
bearychat.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
campfire.py
catapult.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
cisco_spark.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
flowdock.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
grove.py More validate module fixes (#39097) 2018-04-24 18:05:50 +01:00
hall.py
hipchat.py Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
irc.py Bulk fix DOCUMENTATION.author (Part 1) (#48934) 2018-11-20 19:31:35 +00:00
jabber.py jabber: Fix joining group chats (#50846) 2019-01-14 22:30:48 +01:00
logentries_msg.py Fix shebangs and file modes and update tests. (#40563) 2018-05-22 14:25:36 -07:00
mail.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
matrix.py Add matrix notification module (#45823) 2018-10-24 08:54:38 +01:00
mattermost.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
mqtt.py Update all pypi.python.org URLs to pypi.org (#38988) 2018-05-14 17:41:47 -05:00
nexmo.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
office_365_connector_card.py Bulk module author 2 (#48955) 2018-11-21 10:32:42 +00:00
pushbullet.py Use https for links to ansible.com domains. 2018-04-23 11:33:56 -07:00
pushover.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
rabbitmq_publish.py RabbitMQ publisher module (#44718) 2018-11-15 11:06:54 +10:00
rocketchat.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
say.py Add docs for say.py to indicate how to list voices (#37737) 2018-09-21 14:51:34 +01:00
sendgrid.py
slack.py Add support for hex color in slack module (#49804) 2018-12-12 08:41:49 +00:00
snow_record.py Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
syslogger.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
telegram.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
twilio.py twilio: fix multi to_number support (#44878) 2018-09-16 08:38:25 +02:00
typetalk.py Update typetalk.py to use com domain (#46045) 2018-09-24 16:42:06 -05:00