diff --git a/oml/localnodes.py b/oml/localnodes.py index 87e5003..3e9bbb3 100644 --- a/oml/localnodes.py +++ b/oml/localnodes.py @@ -144,6 +144,8 @@ class LocalNodes(dict): id = info.properties[b'id'].decode() if id == settings.USER_ID: return + if len(id) != settings.ID_LENGTH: + return if state_change is ServiceStateChange.Added: new = id not in self self[id] = {