diff options
author | Simon Schampijer <simon@schampijer.de> | 2007-09-25 21:30:49 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2007-09-25 21:30:49 (GMT) |
commit | 8ae265516b94fee2ba2eb2e0315bc3aec07c7cb2 (patch) | |
tree | c21dac5d88e532ed436d88908e34b42e7928bea9 | |
parent | 2e5422b2230032780f05851698d60741c261b3fa (diff) |
A fix for offline mode.
-rwxr-xr-x | webactivity.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |