Error checking on activity UID

master
Dan Williams 18 years ago
parent b92c730457
commit 55f538253c

@ -126,6 +126,8 @@ class PresenceService(gobject.GObject):
self._started = True
self._lock.release()
if activity_uid and (not type(activity_uid) == type("") or not len(activity_uid)):
raise ValueError("activity uid must be a string.")
self._activity_uid = activity_uid
# Always browse .local

Loading…
Cancel
Save