Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/activity.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/activity.py')
-rw-r--r--src/activity.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/activity.py b/src/activity.py
index 019ac65..873fcb7 100644
--- a/src/activity.py
+++ b/src/activity.py
@@ -698,8 +698,10 @@ class Activity(ExportedGObject):
"""
conn = self._tp.get_connection()
# FIXME add tubes and others channels
- return (str(conn.service_name), conn.object_path,
- [self._text_channel.object_path])
+ channels = []
+ if self._text_channel is not None:
+ channels.append(self._text_channel.object_path)
+ return (str(conn.service_name), conn.object_path, channels)
def leave(self, async_cb, async_err_cb):
"""Local method for the local user to leave the shared activity.