Stop abusing ZeroConf by overloading the service type field; overload the service name field instead like everyone else does

This commit is contained in:
Dan Williams
2006-06-22 14:05:38 -04:00
parent 2351ee0458
commit 2840af85ce
8 changed files with 165 additions and 193 deletions
+1 -1
View File
@@ -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)