From 2840af85ce3b7d998a356f5606ce0d6637b4092e Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 22 Jun 2006 18:05:38 +0000 Subject: Stop abusing ZeroConf by overloading the service type field; overload the service name field instead like everyone else does --- (limited to 'sugar/chat') diff --git a/sugar/chat/ActivityChat.py b/sugar/chat/ActivityChat.py index 6e3c71c..f24269b 100644 --- a/sugar/chat/ActivityChat.py +++ b/sugar/chat/ActivityChat.py @@ -16,7 +16,7 @@ class ActivityChat(GroupChat): self._service_appeared_cb(self._pservice, None, service) def _service_appeared_cb(self, pservice, buddy, service): - if service.get_activity_uid() == self._activity.get_id(): + if service.get_activity_id() == self._activity.get_id(): if service.get_type() == ActivityChat.SERVICE_TYPE: logging.debug('Group chat service appeared, setup the stream.') self._setup_stream(service) -- cgit v0.9.1