Bug 29721 - Presence cache's "unsure period" can finish before we've even connected.
Summary: Presence cache's "unsure period" can finish before we've even connected.
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Will Thompson
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/wj...
Whiteboard: review+
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-08-21 03:19 UTC by Will Thompson
Modified: 2010-08-23 12:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Will Thompson 2010-08-21 03:19:28 UTC
Gabble's presence cache has a concept of being "unsure" about presences: it waits a few seconds after we connect for other folks' presences to trickle in before declaring that those it hasn't heard about are offline.

Or at least, that's the theory. Actually, the timer starts as soon as RequestConnection() is called, so if you're on a slow connection, the period can end before we're even connected.
Comment 1 Will Thompson 2010-08-21 03:20:34 UTC
Here is a patch.
Comment 2 Simon McVittie 2010-08-23 11:46:48 UTC
Yes please!
Comment 3 Will Thompson 2010-08-23 12:13:17 UTC
commit 9a1b4f3df91b201cec25c293d9e095740068cb56
Merge: c70da96 b6de9de
Author: Will Thompson <will.thompson@collabora.co.uk>
Date:   Mon Aug 23 20:05:56 2010 +0100

    Merge branch 'fix-presence-unsure-period'


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.