Mercurial > libervia-backend
diff src/plugins/plugin_xep_0277.py @ 1854:3c0bb714a80b
plugin XEP-0060: fixed bad xmpp: URI generation in getNodeURI
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 25 Feb 2016 16:21:17 +0100 |
parents | 6e547dd7f38c |
children | fc6eeacf31bc |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py Thu Feb 25 16:05:31 2016 +0100 +++ b/src/plugins/plugin_xep_0277.py Thu Feb 25 16:21:17 2016 +0100 @@ -611,7 +611,7 @@ Determine the fields comments_service and comments_node of a microblog data from the href attribute of an entry's link element. For example this input: - xmpp:sat-pubsub.libervia.org?node=urn%3Axmpp%3Acomments%3A_c5c4a142-2279-4b2a-ba4c-1bc33aa87634__urn%3Axmpp%3Agroupblog%3Asouliane%40libervia.org + xmpp:sat-pubsub.libervia.org?;node=urn%3Axmpp%3Acomments%3A_c5c4a142-2279-4b2a-ba4c-1bc33aa87634__urn%3Axmpp%3Agroupblog%3Asouliane%40libervia.org will return (JID(u'sat-pubsub.libervia.org'), 'urn:xmpp:comments:_c5c4a142-2279-4b2a-ba4c-1bc33aa87634__urn:xmpp:groupblog:souliane@libervia.org') @return: a tuple (JID, str) """