Do not assign {} to properties, if you do apparently
the table is not recreated on subsequent calls and that obviously cause funny issues.
This commit is contained in:
parent
73c94c7bfb
commit
918c695b07
@ -482,7 +482,7 @@ class PresenceService(gobject.GObject):
|
|||||||
raise ValueError("service was not a valid service object.")
|
raise ValueError("service was not a valid service object.")
|
||||||
self.register_service(service)
|
self.register_service(service)
|
||||||
|
|
||||||
def share_activity(self, activity, stype, properties={}, address=None, port=None):
|
def share_activity(self, activity, stype, properties=None, address=None, port=None):
|
||||||
"""Convenience function to share an activity with other buddies."""
|
"""Convenience function to share an activity with other buddies."""
|
||||||
if not self._started:
|
if not self._started:
|
||||||
raise RuntimeError("presence service must be started first.")
|
raise RuntimeError("presence service must be started first.")
|
||||||
|
Loading…
Reference in New Issue
Block a user