Correctly handle blank activity list

This commit is contained in:
Dan Williams 2007-04-13 15:05:21 -04:00
parent 559c75a317
commit 15febc6620

View File

@ -444,10 +444,6 @@ class ServerPlugin(gobject.GObject):
del self._online_contacts[handle]
def _contact_online_activities_cb(self, handle, activities):
if not activities or not len(activities):
logging.debug("Handle %s - No activities" % handle)
self._contact_offline(handle)
return
self._buddy_activities_changed_cb(handle, activities)
def _contact_online_activities_error_cb(self, handle, err):