Skip to content

Commit b0d2953

Browse files
Saksham-SirohiSak1012mariobehling
authored
fix rooms not working on video (#1339)
Co-authored-by: Srivatsav Auswin <75414859+Sak1012@users.noreply.github.com> Co-authored-by: Mario Behling <mb@mariobehling.de>
1 parent 563ce6b commit b0d2953

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/eventyay/base/services/event.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,10 @@ def _create_room(data, with_channel=False, permission_preset="public", creator=N
257257
data["trait_grants"] = {}
258258
has_modules = bool(data.get("module_config"))
259259
data.setdefault("setup_complete", has_modules)
260-
data.setdefault("sidebar_hidden", not has_modules)
260+
# Hidden rooms disappear from the schedule editor, this keeps them visible by default
261+
data.setdefault("hidden", False)
262+
# Sidebar should not display a room until a room is configured
263+
data.setdefault("sidebar_hidden", data["hidden"] or not data["setup_complete"])
261264

262265
if (
263266
data.get("event")

0 commit comments

Comments
 (0)