[Telepathy] [Bug 15769] Calls made before caps discovery completes should wait for it
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Feb 5 01:10:38 PST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=15769
Will Thompson <will.thompson at collabora.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Will Thompson <will.thompson at collabora.co.uk> 2009-02-05 01:10:36 PST ---
This has been fixed for a while. If you call RequestStreams, and we don't know
the contact's capable:
* If we know we're waiting for a disco response, we wait (indefinitely) for
that.
* If we're still "unsure" we've got initial presences (also known as: we've
been online at least 5 seconds), we wait 5 seconds and try again.
* Else, return with NotAvailable.
Ideally in the second case we'd wait 5 seconds, or until we get that contact's
presence, whichever is the shorter. I thought that'd be easy to implement (by
listening to presences-updated on the PresenceCache) but that signal is emitted
just before the caps URI is processed and discos sent if necessary. I'm not
sure if anything depends on that ordering, but it doesn't seem worth finding
out. The reward isn't particularly compelling.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy
mailing list