fix(multiplayer): fix fliters
This commit is contained in:
@@ -41,6 +41,9 @@ async def get_all_rooms(
|
|||||||
) != current_user.id:
|
) != current_user.id:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
continue
|
||||||
|
else:
|
||||||
|
if mode == "owned":
|
||||||
if (
|
if (
|
||||||
room.room.host.user_id if room.room.host is not None else 0
|
room.room.host.user_id if room.room.host is not None else 0
|
||||||
) != current_user.id:
|
) != current_user.id:
|
||||||
|
|||||||
Reference in New Issue
Block a user