[empathy] Fallback to OFFLINE when getting an unknown presence from MC



commit 66b32d43ebeab870039ca729b24ae64fdeff5088
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Tue Jun 30 17:24:05 2009 +0100

    Fallback to OFFLINE when getting an unknown presence from MC

 libempathy/empathy-idle.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c
index d0bc005..5d2fa2b 100644
--- a/libempathy/empathy-idle.c
+++ b/libempathy/empathy-idle.c
@@ -468,7 +468,7 @@ empathy_idle_get_actual_presence (EmpathyIdle *idle, GError **error)
 	case MC_PRESENCE_DO_NOT_DISTURB:
 		return TP_CONNECTION_PRESENCE_TYPE_BUSY;
 	default:
-		return TP_CONNECTION_PRESENCE_TYPE_UNSET;
+		return TP_CONNECTION_PRESENCE_TYPE_OFFLINE;
 	}
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]