return None
assert update.key == 'user_ids'
assert isinstance(update.value, set)
- d = {'NUHS:joining': tuple(id_ for id_ in update.value
- if id_ not in self.user_ids)
- } if self.user_ids else {'NICKS:residents': tuple(update.value)}
+ d = ({'NUHS:joining': tuple(sorted(id_ for id_ in update.value
+ if id_ not in self.user_ids))}
+ if self.user_ids
+ else {'NICKS:residents': tuple(sorted(update.value))})
if super()._focused_set_and_report_change(old_value, update):
return scope, d
return None