[jdev] [OTR-dev] ConnContext.username in XMPP

Jonathan Schleifer js-jdev at webkeks.org
Sun Jun 22 10:29:19 CDT 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.

PS: Sorry, I had to sent it as two separate messages to both MLs since
I use different sender adresses for both.

-- 
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20080622/29b32b29/attachment-0002.pgp>


More information about the JDev mailing list