[telepathy-butterfly/master] Give pymsn a pymsn presence instead of a telepathy one.

Jonny Lamb jonny.lamb at collabora.co.uk
Tue Jun 9 14:04:56 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 butterfly/connection.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/butterfly/connection.py b/butterfly/connection.py
index 6c7663f..4c98191 100644
--- a/butterfly/connection.py
+++ b/butterfly/connection.py
@@ -102,7 +102,7 @@ class ButterflyConnection(telepathy.server.Connection,
             self.set_self_handle(ButterflyHandleFactory(self, 'self'))
 
             self.__disconnect_reason = telepathy.CONNECTION_STATUS_REASON_NONE_SPECIFIED
-            self._initial_presence = telepathy.CONNECTION_PRESENCE_TYPE_AVAILABLE
+            self._initial_presence = pymsn.Presence.INVISIBLE
             self._initial_personal_message = None
 
             logger.info("Connection to the account %s created" % account)
-- 
1.5.6.5



More information about the telepathy-commits mailing list