Skip to content

XMPP Notification Support; refs #40#90

Merged
caronc merged 1 commit intomasterfrom
40-xmpp-notification-support
Mar 22, 2019
Merged

XMPP Notification Support; refs #40#90
caronc merged 1 commit intomasterfrom
40-xmpp-notification-support

Conversation

@caronc
Copy link
Owner

@caronc caronc commented Mar 22, 2019

XMPP Support requires sleekxmpp to work:

pip install sleekxmpp
  • xmpp uses an unsecure port of 5222
  • xmpps uses a secure port of 5223

The syntax is as follows sends to the detected and/or specified JID associated with the account:

  • xmpp://user:pass@hostname
    this sets a JID of user@hostname and authenticates using pass
  • xmpp://pass@hostname
    this sets a JID of hostname and authenticates using pass
  • xmpps://pass@hostname?jid=user@example.com
  • xmpp://user:pass@hostname:port

You can notify other JIDs by using a comma and/or space to delimit them:

  • xmpp://user:pass@hostname:port/user1@host, user2@host, user3@host/resource

Note: Since a JID can have a /resource (identified using forward slashes), this directly impacts the way apprise allows the use of the URL. This is why JID's are separated with a space and/or comma and not a slash.

@codecov-io
Copy link

codecov-io commented Mar 22, 2019

Codecov Report

Merging #90 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #90    +/-   ##
======================================
  Coverage     100%   100%            
======================================
  Files          40     41     +1     
  Lines        4028   4148   +120     
  Branches      653    681    +28     
======================================
+ Hits         4028   4148   +120
Impacted Files Coverage Δ
apprise/plugins/NotifyXMPP.py 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f7ec30b...ab2bd92. Read the comment docs.

@caronc caronc force-pushed the 40-xmpp-notification-support branch from a4b9d1a to 416c6df Compare March 22, 2019 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants