[Telepathy-commits] [telepathy-glib/master] contacts-conn: fix obvious errors in definition of "offline" status

Simon McVittie simon.mcvittie at collabora.co.uk
Thu Jan 29 04:48:09 PST 2009


---
 tests/lib/contacts-conn.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/lib/contacts-conn.c b/tests/lib/contacts-conn.c
index 725db20..37e59ce 100644
--- a/tests/lib/contacts-conn.c
+++ b/tests/lib/contacts-conn.c
@@ -177,7 +177,7 @@ static const TpPresenceStatusSpec my_statuses[] = {
         can_have_message },
       { "busy", TP_CONNECTION_PRESENCE_TYPE_BUSY, TRUE, can_have_message },
       { "away", TP_CONNECTION_PRESENCE_TYPE_AWAY, TRUE, can_have_message },
-      { "offline", TP_CONNECTION_PRESENCE_TYPE_AVAILABLE, TRUE, NULL },
+      { "offline", TP_CONNECTION_PRESENCE_TYPE_OFFLINE, FALSE, NULL },
       { "unknown", TP_CONNECTION_PRESENCE_TYPE_UNKNOWN, FALSE, NULL },
       { "error", TP_CONNECTION_PRESENCE_TYPE_ERROR, FALSE, NULL },
       { NULL }
-- 
1.5.6.5




More information about the telepathy-commits mailing list