gnu-social/scripts
Evan Prodromou 4cdd90283b forward messages from queuehandler to listener
The queuehandler sends messages to the user. If the user replies, the
messages are typically sent directly to the queuehandler (including
resource), not the default bot JID.

We add a little code for the xmppqueuehandler to periodically service
its queue of received messages. Received messages are forwarded to the
listener to deal with. We use XEP 33, 'addresses', to note the
original sender.

The xmppdaemon checks to see if the 'from' on a message is the daemon
address. If so, it looks for a XEP 33 'addresses' stanza, with an
'ofrom' address, which shows who it was originally is from.

This should let us send from one resource ID and still process
incoming messages in a different connection.

darcs-hash:20080830040717-84dde-59c75bfb107a1dd5fd531106751b4544bfd15656.gz
2008-08-30 00:07:17 -04:00
..
fixup_hashtags.php move command-line scripts to their own dir 2008-08-13 11:46:03 -04:00
fixup_notices_rendered.php move command-line scripts to their own dir 2008-08-13 11:46:03 -04:00
fixup_replies.php move command-line scripts to their own dir 2008-08-13 11:46:03 -04:00
maildaemon.php move command-line scripts to their own dir 2008-08-13 11:46:03 -04:00
ombqueuehandler.php return correct values for success in handling messages 2008-08-27 21:10:02 -04:00
publicqueuehandler.php fix name of instantiated class 2008-08-29 14:21:12 -04:00
sitemap.php move command-line scripts to their own dir 2008-08-13 11:46:03 -04:00
smsqueuehandler.php return results of broadcasting by sms 2008-08-27 21:26:35 -04:00
startdaemons.sh split public stream to its own queue handler 2008-08-29 14:17:02 -04:00
stopdaemons.sh split public stream to its own queue handler 2008-08-29 14:17:02 -04:00
xmppconfirmhandler.php a little more robust confirm handler 2008-08-29 14:23:49 -04:00
xmppdaemon.php forward messages from queuehandler to listener 2008-08-30 00:07:17 -04:00
xmppqueuehandler.php forward messages from queuehandler to listener 2008-08-30 00:07:17 -04:00