We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c88cd commit 6e373abCopy full SHA for 6e373ab
sogs/model/room.py
@@ -1517,8 +1517,6 @@ def permissions(self):
1517
):
1518
data = dict()
1519
for k in row.keys():
1520
- if k in ('banned', 'moderator', 'admin', 'visible_mod') and not row[k]:
1521
- continue # only include banned when true
1522
if row[k] is not None and k not in ('session_id', 'room', 'user'):
1523
data[k] = bool(row[k])
1524
ret[row['session_id']] = data
0 commit comments