4cdd90283b
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 |
||
---|---|---|
.. | ||
fixup_hashtags.php | ||
fixup_notices_rendered.php | ||
fixup_replies.php | ||
maildaemon.php | ||
ombqueuehandler.php | ||
publicqueuehandler.php | ||
sitemap.php | ||
smsqueuehandler.php | ||
startdaemons.sh | ||
stopdaemons.sh | ||
xmppconfirmhandler.php | ||
xmppdaemon.php | ||
xmppqueuehandler.php |