]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Improved plugins/Xmpp/README
authorFlorian Schmaus <fschmaus@gmail.com>
Sat, 19 Oct 2013 10:19:00 +0000 (12:19 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 20 Oct 2013 19:05:04 +0000 (21:05 +0200)
commitb7d45e176b4314850dfbae9c60ff7055d292ba08
tree4d636b989f6f7be1a9e155e7519f8d4b737180ae
parent53b8412aaea16a6642ba6298c455f8550f70ebf6
Improved plugins/Xmpp/README

Added the relevant section in INSTALL about queues and daemons to get
the plugin runnig.

Made resource required, as otherwise XMPPHP will send invalid from JIDs
in it's stanzas. For example when my configuration didn't had the
resource part, outbound stanzas looked like this:

<message
from="gnusocial@example.de/"
to="flow@example.de"
type='chat'>
<body>
User &quot;flow&quot; on GNU Social has said that your
XMPP/Jabber/GTalk screenname belongs to them.

</body>
</message>

Note the '/' at the end of the from attribute, without an actual
XMPP resource. But according to RFC6122 2.1 "every allowable portion of
a JID MUST NOT be zero bytes in length". Causing a jid-malformed
response from the server.

Also, it's nice to know that debug=true will print out all sent and
received stanzas, which helped me to debug the problem.

Furthermore I add a note that if the XMPP services uses DNS SRV records,
'host' has to be configured (in cases where service host != xmpp domain).
plugins/Xmpp/README