From 9ef8013a6b5c334292598c4b00e82047fdf441ef Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 27 Jun 2006 16:27:30 +0000 Subject: Initialize the stream also when publishing --- (limited to 'sugar') 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) -- cgit v0.9.1