diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-30 00:07:17 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-30 00:07:17 -0400 |
commit | 4cdd90283b46db68d278d287074c740348b4ba55 (patch) | |
tree | 50cd256e4aa94203641715f26c633f324fcf93ca /README | |
parent | 9907a2101d8670a113444c95b2c98c2eec79c184 (diff) |
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
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions