Some fixes

This commit is contained in:
Marco Pesenti Gritti 2006-06-16 23:24:07 -04:00
parent e060c07873
commit 0871ca9f3d

View File

@ -28,7 +28,7 @@ class PresenceWindow(gtk.Window):
def _is_buddy_visible(self, buddy): def _is_buddy_visible(self, buddy):
if self._activity: if self._activity:
activity_type = self._activity.get_default_type() activity_type = self._activity.get_default_type()
service = buddy.get_service_of_type(activity, activity_type) service = buddy.get_service_of_type(activity_type, self._activity)
return service is not None return service is not None
else: else:
return True return True