Skip to content

Commit

Permalink
cmd_status: Filter out empty user IDs.
Browse files Browse the repository at this point in the history
This fixes issue #241.
  • Loading branch information
Christoph-D authored and hifi committed May 9, 2024
1 parent 06d2d44 commit 3fec8b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion heisenbridge/control_room.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ async def cmd_status(self, args):

if self.serv.is_admin(self.user_id):
for room in self.serv.find_rooms():
users.add(room.user_id)
if room.user_id is not None: # ignore HiddenRoom
users.add(room.user_id)

users = list(users)
users.sort()
Expand Down

0 comments on commit 3fec8b5

Please sign in to comment.