[Telepathy-commits] [telepathy-gabble/master] Remove resources and capabilities that gone into either unknown, offline or error
Sjoerd Simons
sjoerd at luon.net
Tue Aug 19 10:54:09 PDT 2008
20080721131852-93b9a-d8f36f77de01e2480466587931a63777754c749d.gz
---
src/presence.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/presence.c b/src/presence.c
index 31647f1..7ae7619 100644
--- a/src/presence.c
+++ b/src/presence.c
@@ -283,8 +283,7 @@ gabble_presence_update (GabblePresence *presence,
res = _find_resource (presence, resource);
/* remove, create or update a Resource as appropriate */
- if (GABBLE_PRESENCE_OFFLINE == status &&
- NULL == status_message)
+ if (GABBLE_PRESENCE_OFFLINE >= status && status <= GABBLE_PRESENCE_ERROR)
{
if (NULL != res)
{
--
1.5.6.3
More information about the Telepathy-commits
mailing list