Xmpp thread ID , openfire gateway, and msn/yahoo/aim/etc


I wanted to check if/how I can make the “thread id” of the xmpp conversation persist across the gateway. I.e. so that the incoming packet has “thread” set to match the previous outgoing packet.

My ultimate goal: determine which incoming messages from aim/msn/yahoo etc. are “new” and which belong to existing conversations.

I could, of course, track conversations separately, but would prefer to use the thread mechanism if possible.



I’m afraid there’s not a good way to track threads out through legacy transports, since they do not track threads. Now, there are -some- that you could do that with. Like MSN has “switchboards” that could be used to tie a thread to a conversation. However this doesn’t work with most of them and I’ve made no implementation of it.