Le Fri, 18 Apr 2008 11:50:27 +0100,
Alban Crequy <alban.crequy collabora.co.uk> a
écrit :
> - <message> stanzas are avoided to advertise and
establish a tube:
> <iq> is more relevant for things that look like
method calls and
> method returns, and we avoid this bug:
> ht
tps://bugs.freedesktop.org/show_bug.cgi?id=14485
If I offer a tube with a <message> stanza to a remote
Jabber client that
does not support tubes, the message will just be ignored and
I will wait
the reply forever. With an <iq> stanza, the remote
client will reply
with an error:
<iq from=... type="error" to=...
id="101" >
...
<error type="cancel" >
<feature-not-implemented xmlns="urn:ietf:params ml:ns
mpp-s
tanzas"/>
</error>
</iq>
So my connection manager can close the tube and I can get a
feedback
in the UI.
--
Alban
_______________________________________________
Telepathy mailing list
Telepathy lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/telepathy
a>
|