diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-06-27 16:27:30 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-06-27 16:27:30 (GMT) |
commit | 9ef8013a6b5c334292598c4b00e82047fdf441ef (patch) | |
tree | 5e06ac2da6ed5191c857c5aa0f4cbed09b1cb9f4 /sugar/chat | |
parent | d61c47816858e7e1814f4a54ad80e2b0d6816c72 (diff) |
Initialize the stream also when publishing
Diffstat (limited to 'sugar/chat')
-rw-r--r-- | sugar/chat/ActivityChat.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sugar/chat/ActivityChat.py b/sugar/chat/ActivityChat.py index a7a6516..9edee83 100644 --- a/sugar/chat/ActivityChat.py +++ b/sugar/chat/ActivityChat.py @@ -23,8 +23,6 @@ class ActivityChat(GroupChat): return if service.get_type() != ActivityChat.SERVICE_TYPE: return - if buddy and buddy.is_owner(): - return if self._chat_service: return @@ -42,3 +40,4 @@ class ActivityChat(GroupChat): """Only called when we publish the activity this chat is tied to.""" self._chat_service = self._pservice.share_activity(self._activity, stype=ActivityChat.SERVICE_TYPE) + self._setup_stream(self._chat_service) |