[OTR-dev] ConnContext.username in XMPP

Jonathan Schleifer js-otrim at webkeks.org
Sun Jun 22 11:25:00 EDT 2008


Kjell Braden <fnord at pentabarf.de> wrote:

> Now the local user receives the message and creates a context for
> "user at server.tld/resource". But since the local user does not know
> about any resources, the messages he sends have to be sent to
> "user at server.tld".

Not exactly. That's no problem at all. If you receive a message from a
resource, you can very well answer to that resource.
The problem you'll get is when you first send a message, don't know the
resource and thus send to the bare JID, but get an answer from the full
JID.

-- 
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.cypherpunks.ca/pipermail/otr-dev/attachments/20080622/34565f77/attachment.pgp>


More information about the OTR-dev mailing list