fix weird change in _share_activity_cb causing all activity sharing fails

This commit is contained in:
Guillaume Desmottes 2008-09-18 11:46:40 +01:00
parent a6ef6742f5
commit 1ab0c67830

View File

@ -458,7 +458,7 @@ class PresenceService(gobject.GObject):
"""Finish sharing the activity
"""
# FIXME find a better way to shutup pylint
psact = (Activity)(self._new_object(op))
psact = self._new_object(op)
psact._joined = True
_logger.debug('%r: Just shared, setting up tubes', activity)
psact.set_up_tubes(reply_handler=lambda: