Re-enable new PresenceService by default

This commit is contained in:
Dan Williams 2007-04-10 14:49:14 -04:00
parent a803b00251
commit eee98e1f82

View File

@ -224,14 +224,10 @@ class _MockPresenceService(gobject.GObject):
def share_activity(self, activity, properties={}):
return None
_REAL_PS_ENABLED = False
_ps = None
def get_instance():
global _ps
if not _ps:
if _REAL_PS_ENABLED:
_ps = PresenceService()
else:
_ps = _MockPresenceService()
return _ps