Skip to content

Commit

Permalink
filter to only manually created rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Dec 31, 2024
1 parent a0b3e30 commit 2cf45d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ async function getStats() {
lock: room.lock || undefined,
creator: room.creator || undefined,
};
if (obj.video || obj.rosterLength > 0) {
if ((obj.video && obj.creator) || obj.rosterLength > 0) {
return obj;
} else {
return null;
Expand Down

0 comments on commit 2cf45d1

Please sign in to comment.