[Telepathy-commits] [telepathy-butterfly/master] Set initial presence on connection to Available.

Jonny Lamb jonny.lamb at collabora.co.uk
Mon Feb 9 03:33:11 PST 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 63f9603..6c7663f 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 = None
+            self._initial_presence = telepathy.CONNECTION_PRESENCE_TYPE_AVAILABLE
             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