From 8ae265516b94fee2ba2eb2e0315bc3aec07c7cb2 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Tue, 25 Sep 2007 21:30:49 +0000 Subject: A fix for offline mode. --- (limited to 'webactivity.py') diff --git a/webactivity.py b/webactivity.py index 8d799bd..28a9264 100755 --- a/webactivity.py +++ b/webactivity.py @@ -135,6 +135,7 @@ class WebActivity(activity.Activity): self.tp_conn_name = name self.tp_conn_path = path self.conn = telepathy.client.Connection(name, path) + self.owner = self.pservice.get_owner() except TypeError: _logger.debug('Offline') self.initiating = None @@ -142,7 +143,6 @@ class WebActivity(activity.Activity): if self._shared_activity is not None: _logger.debug('shared: %s' %self._shared_activity.props.joined) - self.owner = self.pservice.get_owner() if self._shared_activity is not None: # We are joining the activity self.toolbox.set_current_toolbar(1) -- cgit v0.9.1