Re-enable new PresenceService by default
This commit is contained in:
parent
a803b00251
commit
eee98e1f82
@ -224,14 +224,10 @@ class _MockPresenceService(gobject.GObject):
|
|||||||
def share_activity(self, activity, properties={}):
|
def share_activity(self, activity, properties={}):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
_REAL_PS_ENABLED = False
|
|
||||||
_ps = None
|
_ps = None
|
||||||
def get_instance():
|
def get_instance():
|
||||||
global _ps
|
global _ps
|
||||||
if not _ps:
|
if not _ps:
|
||||||
if _REAL_PS_ENABLED:
|
_ps = PresenceService()
|
||||||
_ps = PresenceService()
|
|
||||||
else:
|
|
||||||
_ps = _MockPresenceService()
|
|
||||||
return _ps
|
return _ps
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user