[OTR-dev] ConnContext.username in XMPP

Jonathan Schleifer js-otrim@webkeks.org
Sun, 22 Jun 2008 17:25:00 +0200


--Sig_/xpbFnr54T6_6gY+IyY7S6bZ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Kjell Braden <fnord@pentabarf.de> wrote:

> Now the local user receives the message and creates a context for
> "user@server.tld/resource". But since the local user does not know
> about any resources, the messages he sends have to be sent to
> "user@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.

--=20
Jonathan

--Sig_/xpbFnr54T6_6gY+IyY7S6bZ
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIcBAEBAwAGBQJIXm7QAAoJEMtRg9d5cXHki9gP/RQKRhAbABhNa6HTvIgdw0K+
kYtC6/BiEnkUnoNo1pHD2h/d3gGbNxDqOZHt2U8wsVPhcwjtfHJv2cubKFEq2RF1
D/8mn4Dczj1PyapaX6Tmp9U7rECOxAhAlkh6tHt9KTL7miA2lRhnR93MZvySZz1h
pb0ZMNerjk9H+G6YjZDVqiB0Ieh/DMLBZY46HzmKo6JVk3IorfiryDK3lvFjeZCS
Q5kA/IKV8nyLiQGGazlD4/fE2m/x7RuR+TWTAFsOgp2+X9AlLyocevmsZcclLxM3
Xzm+JcN49g/3pEdlU1flFRQAuVR8MIQ+mNF+v1xuYf3NvxbDti7PvQE72v8jj4XX
oQxlXENjs9h8GZ5I0gZvWELZRB6RMy24EfzppVc1rxJl0yxew5Tt4Ock9GAY0kiH
UAdOJX52wkco9qF2GU6ubdQZpECACLFyPTWr4IB6KvaQo0JH6chUZzG0VtVCEtvX
Jv4gjcJa7vrSL07166+6sL1G64FiKkyukkbKUu7J/xN6L8Q9HVrUOy8fCG416d2e
5zSwFqwHMyTuJd9JHg/BhX7BZwFNlp2QkS/CHv86mE1kwRpoPreXfO0dt68QnESD
yepffFG4wxwdpBVjPP16tYNWzE/FLJMaKorIjmliJswqfCYzz1Muk0eYxP8r7u6j
ReK0/8rLW8IOQGP8KWP6
=v5p6
-----END PGP SIGNATURE-----

--Sig_/xpbFnr54T6_6gY+IyY7S6bZ--