[jitsi-users] Use of <thread> element


#1

Hi all, as per RFC 3921:

2.1.2.3. Thread

   The <thread/> element contains non-human-readable XML character data
   specifying an identifier that is used for tracking a conversation
   thread (sometimes referred to as an "instant messaging session")
   between two entities. The value of the <thread/> element is
   generated by the sender and SHOULD be copied back in any replies. If
   used, it MUST be unique to that conversation thread within the stream
   and MUST be consistent throughout that conversation (a client that
   receives a message from the same full JID but with a different thread
   ID MUST assume that the message in question exists outside the
   context of the existing conversation thread). The use of the
   <thread/> element is OPTIONAL and is not used to identify individual
   messages, only conversations. A message stanza MUST NOT contain more
   than one <thread/> element. The <thread/> element MUST NOT possess
   any attributes. The value of the <thread/> element MUST be treated
   as opaque by entities; no semantic meaning may be derived from it,
   and only exact comparisons may be made against it. The <thread/>
   element MUST NOT contain mixed content (as defined in Section 3.2.2
   of [XML]).
The element is optional, but it MUST be unique and consistent throughout a conversation. I'm seeing that Jitsi is adding a new value for almost each interaction:

[01 Aug 2011 14:56:26,209] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.3000@co.oracle.com/IBIZA] Received:<message id=‘6’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><x xmlns=‘jabber:x:event’><id>eVDnu2</id><composing/></x></message>
[01 Aug 2011 14:56:27,422] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.3000@co.oracle.com/IBIZA] Received:<message id=‘7’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><body>3. r</body><thread>eVDnu2</thread><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:35,663] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘dMUXz-33’ to=‘user.3000@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>eVDnu4</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:36,162] DEBUG xmppd.xfer [default-iim_server-worker 1] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘dMUXz-34’ to=‘user.3000@co.oracle.com/IBIZA’ type=‘chat’ xml:lang=‘en’><body>4</body><thread>eVDnu5</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:36,165] DEBUG xmppd.xfer [default-iim_server-worker 1] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘dMUXz-35’ to=‘user.3000@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>eVDnu6</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>

As you can see, in about 10 seconds it assigned different values within the same conversation.

Is there any preference within the client to control this?

Thanks,

Germán

Germán Alvarado Campos | Technical Support Engineer
Oracle | Collaboration Suite / Beehive


#2

If I recall correctly we should be creating new conversations only when
talking to people that we haven't contacted for the last 10 minutes.

I am now thinking however that we may be doing that when we get messages
from that contact (and not when sending them). In your example messages
seem to be going one way only. Could you please try sending a response
back to the sender? I think all following messages should belong to the
same thread.

Cheers,
Emil

На 01.08.11 23:15, Germán Alvarado-Campos написа:

Hi all, as per RFC 3921:

2.1.2.3. Thread

   The <thread/> element contains non-human-readable XML character data
   specifying an identifier that is used for tracking a conversation
   thread (sometimes referred to as an "instant messaging session")
   between two entities. The value of the <thread/> element is
   generated by the sender and SHOULD be copied back in any replies. If
   used, it MUST be unique to that conversation thread within the stream
   and MUST be consistent throughout that conversation (a client that
   receives a message from the same full JID but with a different thread
   ID MUST assume that the message in question exists outside the
   context of the existing conversation thread). The use of the
   <thread/> element is OPTIONAL and is not used to identify individual
   messages, only conversations. A message stanza MUST NOT contain more
   than one <thread/> element. The <thread/> element MUST NOT possess
   any attributes. The value of the <thread/> element MUST be treated
   as opaque by entities; no semantic meaning may be derived from it,
   and only exact comparisons may be made against it. The <thread/>
   element MUST NOT contain mixed content (as defined in Section 3.2.2
   of [XML]).

The element is optional, but it MUST be unique and consistent throughout
a conversation. I'm seeing that Jitsi is adding a new value for almost
each interaction:

[01 Aug 2011 14:56:26,209] DEBUG xmppd.xfer [default-iim_server-worker 5]

  [user.3000@co.oracle.com <mailto:user.3000@co.oracle.com>/IBIZA]

···

Received:<message id=‘6’ to='user.9000@co.oracle.com
<mailto:to=‘user.9000@co.oracle.com>/jitsi’ type=‘chat’ xml:lang=‘en’><x
xmlns=‘jabber:x:event’><id>*eVDnu2*</id><composing/></x></message>
[01 Aug 2011 14:56:27,422] DEBUG xmppd.xfer [default-iim_server-worker
4] [user.3000@co.oracle.com <mailto:user.3000@co.oracle.com>/IBIZA]
Received:<message id=‘7’ to='user.9000@co.oracle.com
<mailto:to=‘user.9000@co.oracle.com>/jitsi’ type=‘chat’
xml:lang=‘en’><body>3. r</body><thread>*eVDnu2*</thread><active
xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:35,663] DEBUG xmppd.xfer [default-iim_server-worker
0] [user.9000@co.oracle.com <mailto:user.9000@co.oracle.com>/jitsi]
Received:<message from='user.9000@co.oracle.com
<mailto:from=‘user.9000@co.oracle.com>/jitsi’ id=‘dMUXz-33’
to='user.3000@co.oracle.com <mailto:to=‘user.3000@co.oracle.com>’
type=‘chat’
xml:lang=‘en’><thread>*eVDnu4*</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:36,162] DEBUG xmppd.xfer [default-iim_server-worker
1] [user.9000@co.oracle.com <mailto:user.9000@co.oracle.com>/jitsi]
Received:<message from='user.9000@co.oracle.com
<mailto:from=‘user.9000@co.oracle.com>/jitsi’ id=‘dMUXz-34’
to='user.3000@co.oracle.com <mailto:to=‘user.3000@co.oracle.com>/IBIZA’
type=‘chat’ xml:lang=‘en’><body>4</body><thread>*eVDnu5*</thread><x
xmlns=‘jabber:x:event’><offline/><composing/></x><active
xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:36,165] DEBUG xmppd.xfer [default-iim_server-worker
1] [user.9000@co.oracle.com <mailto:user.9000@co.oracle.com>/jitsi]
Received:<message from='user.9000@co.oracle.com
<mailto:from=‘user.9000@co.oracle.com>/jitsi’ id=‘dMUXz-35’
to='user.3000@co.oracle.com <mailto:to=‘user.3000@co.oracle.com>’
type=‘chat’
xml:lang=‘en’><thread>*eVDnu6*</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>

As you can see, in about 10 seconds it assigned different values within
the same conversation.

Is there any preference within the client to control this?

Thanks,

Germán
Oracle <http://www.oracle.com>
Germán Alvarado Campos | Technical Support Engineer
Oracle | Collaboration Suite / Beehive
Hardware and Software, Engineered to Work Together <http://www.oracle.com>

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31


#3

Thanks for the update Emil. Here are two tests:

Starting a conversation from another client to Jitsi
• [02 Aug 2011 07:37:46,792] DEBUG xmppd.xfer [default-iim_server-worker 2] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac374c’ to=‘user.9000@co.oracle.com’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>a</body></message>
• [02 Aug 2011 07:37:46,793] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac374c’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>a</body></message>
• [02 Aug 2011 07:37:50,533] DEBUG xmppd.xfer [default-iim_server-worker 1] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-28’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD1</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:50,534] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-28’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD1</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:50,901] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-29’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>b</body><thread>agQrD2</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:50,903] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-29’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>b</body><thread>agQrD2</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:50,905] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-30’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD3</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:50,906] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-30’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD3</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:54,440] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-31’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD4</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:54,441] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-31’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD4</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:54,895] DEBUG xmppd.xfer [default-iim_server-worker 3] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-32’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>c</body><thread>agQrD5</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:54,896] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-32’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>c</body><thread>agQrD5</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:54,898] DEBUG xmppd.xfer [default-iim_server-worker 3] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-33’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD6</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:54,899] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-33’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD6</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:56,053] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac374e’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:56,054] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac374e’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:57,061] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3752’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>e</body></message>
• [02 Aug 2011 07:37:57,062] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3752’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>e</body></message>
• [02 Aug 2011 07:37:57,063] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3753’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:57,064] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3753’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:58,819] DEBUG xmppd.xfer [default-iim_server-worker 2] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-34’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD7</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:58,821] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-34’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD7</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:59,197] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-35’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>f</body><thread>agQrD8</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:59,198] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-35’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>f</body><thread>agQrD8</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:59,200] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-36’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD9</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:37:59,201] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-36’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD9</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:38:05,860] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3754’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:38:05,861] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3754’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>

Starting a conversation from Jitsi to another client
• [02 Aug 2011 07:49:56,104] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-37’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD10</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:56,105] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-37’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD10</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:56,443] DEBUG xmppd.xfer [default-iim_server-worker 3] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-38’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><body>1</body><thread>agQrD11</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:56,444] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-38’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>1</body><thread>agQrD11</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:56,446] DEBUG xmppd.xfer [default-iim_server-worker 3] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-39’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD12</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:56,447] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-39’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD12</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:58,979] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3761’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:58,981] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3761’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:59,330] DEBUG xmppd.xfer [default-iim_server-worker 3] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3762’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>2</body></message>
• [02 Aug 2011 07:49:59,331] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3762’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>2</body></message>
• [02 Aug 2011 07:49:59,332] DEBUG xmppd.xfer [default-iim_server-worker 3] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3763’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:49:59,333] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3763’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:02,663] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-40’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD14</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:02,664] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-40’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD14</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,279] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-41’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>3</body><thread>agQrD15</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,280] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-41’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>3</body><thread>agQrD15</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,282] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-42’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD16</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,282] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-42’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD16</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,283] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-43’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD17</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,283] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-43’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD17</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,284] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-44’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>4</body><thread>agQrD18</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,285] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-44’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><body>4</body><thread>agQrD18</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,286] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-45’ to=‘user.1@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD19</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:03,287] DEBUG xmppd.xfer [Thread-38] [user.1@co.oracle.com/user.1] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-45’ to=‘user.1@co.oracle.com/user.1’ type=‘chat’ xml:lang=‘en’><thread>agQrD19</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:04,175] DEBUG xmppd.xfer [default-iim_server-worker 0] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3764’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:04,176] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3764’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:04,514] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3765’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>5</body></message>
• [02 Aug 2011 07:50:04,515] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3765’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>5</body></message>
• [02 Aug 2011 07:50:04,516] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3766’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:04,516] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3766’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:04,517] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3767’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:04,517] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3767’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:04,852] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3768’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>6</body></message>
• [02 Aug 2011 07:50:04,853] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3768’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/><body>6</body></message>
• [02 Aug 2011 07:50:04,854] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac3769’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:04,855] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac3769’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:10,507] DEBUG xmppd.xfer [default-iim_server-worker 2] [user.1@co.oracle.com/user.1] Received:<message id=‘purple17ac376a’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
• [02 Aug 2011 07:50:10,508] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.1@co.oracle.com/user.1’ id=‘purple17ac376a’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>

One thing I noticed is that the other client (pidgin) seems to totally ignore the thread element. I tested with Trillian and it does take the element an returns it as expected, but Jitsi still creates new values:

[02 Aug 2011 07:55:39,416] DEBUG xmppd.xfer [default-iim_server-worker 3] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-53’ to=‘user.3000@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD20</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:39,417] DEBUG xmppd.xfer [Thread-36] [user.3000@co.oracle.com/IBIZA] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-53’ to=‘user.3000@co.oracle.com/IBIZA’ type=‘chat’ xml:lang=‘en’><thread>agQrD20</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:39,977] DEBUG xmppd.xfer [default-iim_server-worker 1] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-54’ to=‘user.3000@co.oracle.com’ type=‘chat’ xml:lang=‘en’><body>1</body><thread>agQrD21</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:39,978] DEBUG xmppd.xfer [Thread-36] [user.3000@co.oracle.com/IBIZA] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-54’ to=‘user.3000@co.oracle.com/IBIZA’ type=‘chat’ xml:lang=‘en’><body>1</body><thread>agQrD21</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:39,980] DEBUG xmppd.xfer [default-iim_server-worker 1] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-55’ to=‘user.3000@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD22</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:39,981] DEBUG xmppd.xfer [Thread-36] [user.3000@co.oracle.com/IBIZA] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-55’ to=‘user.3000@co.oracle.com/IBIZA’ type=‘chat’ xml:lang=‘en’><thread>agQrD22</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:44,538] DEBUG xmppd.xfer [default-iim_server-worker 2] [user.3000@co.oracle.com/IBIZA] Received:<message id=‘4’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><x xmlns=‘jabber:x:event’><id>agQrD21</id><composing/></x></message>
[02 Aug 2011 07:55:44,539] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.3000@co.oracle.com/IBIZA’ id=‘4’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><x xmlns=‘jabber:x:event’><id>agQrD21</id><composing/></x></message>
[02 Aug 2011 07:55:44,800] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.3000@co.oracle.com/IBIZA] Received:<message id=‘5’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><body>2</body><thread>agQrD21</thread><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:44,801] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.3000@co.oracle.com/IBIZA’ id=‘5’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><body>2</body><thread>agQrD21</thread><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:45,062] DEBUG xmppd.xfer [default-iim_server-worker 2] [user.3000@co.oracle.com/IBIZA] Received:<message id=‘6’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><x xmlns=‘jabber:x:event’><id>agQrD21</id><composing/></x></message>
[02 Aug 2011 07:55:45,063] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.3000@co.oracle.com/IBIZA’ id=‘6’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><x xmlns=‘jabber:x:event’><id>agQrD21</id><composing/></x></message>
[02 Aug 2011 07:55:45,323] DEBUG xmppd.xfer [default-iim_server-worker 1] [user.3000@co.oracle.com/IBIZA] Received:<message id=‘7’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><body>3</body><thread>agQrD21</thread><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:45,324] DEBUG xmppd.xfer [Thread-22] [user.9000@co.oracle.com/jitsi] Sent:<message xmlns=‘jabber:client’ from=‘user.3000@co.oracle.com/IBIZA’ id=‘7’ to=‘user.9000@co.oracle.com/jitsi’ type=‘chat’ xml:lang=‘en’><body>3</body><thread>agQrD21</thread><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:46,938] DEBUG xmppd.xfer [default-iim_server-worker 4] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-56’ to=‘user.3000@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD24</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:46,939] DEBUG xmppd.xfer [Thread-36] [user.3000@co.oracle.com/IBIZA] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-56’ to=‘user.3000@co.oracle.com/IBIZA’ type=‘chat’ xml:lang=‘en’><thread>agQrD24</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:47,336] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-57’ to=‘user.3000@co.oracle.com/IBIZA’ type=‘chat’ xml:lang=‘en’><body>4</body><thread>agQrD25</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:47,337] DEBUG xmppd.xfer [Thread-36] [user.3000@co.oracle.com/IBIZA] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-57’ to=‘user.3000@co.oracle.com/IBIZA’ type=‘chat’ xml:lang=‘en’><body>4</body><thread>agQrD25</thread><x xmlns=‘jabber:x:event’><offline/><composing/></x><active xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:47,339] DEBUG xmppd.xfer [default-iim_server-worker 5] [user.9000@co.oracle.com/jitsi] Received:<message from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-58’ to=‘user.3000@co.oracle.com’ type=‘chat’ xml:lang=‘en’><thread>agQrD26</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[02 Aug 2011 07:55:47,339] DEBUG xmppd.xfer [Thread-36] [user.3000@co.oracle.com/IBIZA] Sent:<message xmlns=‘jabber:client’ from=‘user.9000@co.oracle.com/jitsi’ id=‘5H1p3-58’ to=‘user.3000@co.oracle.com/IBIZA’ type=‘chat’ xml:lang=‘en’><thread>agQrD26</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>

Regards,

Germán

···

On Aug 1, 2011, at 5:35 PM, Emil Ivov wrote:

If I recall correctly we should be creating new conversations only when
talking to people that we haven't contacted for the last 10 minutes.

I am now thinking however that we may be doing that when we get messages
from that contact (and not when sending them). In your example messages
seem to be going one way only. Could you please try sending a response
back to the sender? I think all following messages should belong to the
same thread.

Cheers,
Emil

На 01.08.11 23:15, Germán Alvarado-Campos написа:

Hi all, as per RFC 3921:

2.1.2.3. Thread

  The <thread/> element contains non-human-readable XML character data
  specifying an identifier that is used for tracking a conversation
  thread (sometimes referred to as an "instant messaging session")
  between two entities. The value of the <thread/> element is
  generated by the sender and SHOULD be copied back in any replies. If
  used, it MUST be unique to that conversation thread within the stream
  and MUST be consistent throughout that conversation (a client that
  receives a message from the same full JID but with a different thread
  ID MUST assume that the message in question exists outside the
  context of the existing conversation thread). The use of the
  <thread/> element is OPTIONAL and is not used to identify individual
  messages, only conversations. A message stanza MUST NOT contain more
  than one <thread/> element. The <thread/> element MUST NOT possess
  any attributes. The value of the <thread/> element MUST be treated
  as opaque by entities; no semantic meaning may be derived from it,
  and only exact comparisons may be made against it. The <thread/>
  element MUST NOT contain mixed content (as defined in Section 3.2.2
  of [XML]).

The element is optional, but it MUST be unique and consistent throughout
a conversation. I'm seeing that Jitsi is adding a new value for almost
each interaction:

[01 Aug 2011 14:56:26,209] DEBUG xmppd.xfer [default-iim_server-worker 5]

[user.3000@co.oracle.com <mailto:user.3000@co.oracle.com>/IBIZA]

Received:<message id=‘6’ to='user.9000@co.oracle.com
<mailto:to=‘user.9000@co.oracle.com>/jitsi’ type=‘chat’ xml:lang=‘en’><x
xmlns=‘jabber:x:event’><id>*eVDnu2*</id><composing/></x></message>
[01 Aug 2011 14:56:27,422] DEBUG xmppd.xfer [default-iim_server-worker
4] [user.3000@co.oracle.com <mailto:user.3000@co.oracle.com>/IBIZA]
Received:<message id=‘7’ to='user.9000@co.oracle.com
<mailto:to=‘user.9000@co.oracle.com>/jitsi’ type=‘chat’
xml:lang=‘en’><body>3. r</body><thread>*eVDnu2*</thread><active
xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:35,663] DEBUG xmppd.xfer [default-iim_server-worker
0] [user.9000@co.oracle.com <mailto:user.9000@co.oracle.com>/jitsi]
Received:<message from='user.9000@co.oracle.com
<mailto:from=‘user.9000@co.oracle.com>/jitsi’ id=‘dMUXz-33’
to='user.3000@co.oracle.com <mailto:to=‘user.3000@co.oracle.com>’
type=‘chat’
xml:lang=‘en’><thread>*eVDnu4*</thread><composing xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:36,162] DEBUG xmppd.xfer [default-iim_server-worker
1] [user.9000@co.oracle.com <mailto:user.9000@co.oracle.com>/jitsi]
Received:<message from='user.9000@co.oracle.com
<mailto:from=‘user.9000@co.oracle.com>/jitsi’ id=‘dMUXz-34’
to='user.3000@co.oracle.com <mailto:to=‘user.3000@co.oracle.com>/IBIZA’
type=‘chat’ xml:lang=‘en’><body>4</body><thread>*eVDnu5*</thread><x
xmlns=‘jabber:x:event’><offline/><composing/></x><active
xmlns=‘http://jabber.org/protocol/chatstates’/></message>
[01 Aug 2011 14:56:36,165] DEBUG xmppd.xfer [default-iim_server-worker
1] [user.9000@co.oracle.com <mailto:user.9000@co.oracle.com>/jitsi]
Received:<message from='user.9000@co.oracle.com
<mailto:from=‘user.9000@co.oracle.com>/jitsi’ id=‘dMUXz-35’
to='user.3000@co.oracle.com <mailto:to=‘user.3000@co.oracle.com>’
type=‘chat’
xml:lang=‘en’><thread>*eVDnu6*</thread><inactive xmlns=‘http://jabber.org/protocol/chatstates’/></message>

As you can see, in about 10 seconds it assigned different values within
the same conversation.

Is there any preference within the client to control this?

Thanks,

Germán
Oracle <http://www.oracle.com>
Germán Alvarado Campos | Technical Support Engineer
Oracle | Collaboration Suite / Beehive
Hardware and Software, Engineered to Work Together <http://www.oracle.com>

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31

Germán Alvarado Campos | Technical Support Engineer
Oracle | Collaboration Suite / Beehive