commit dc2e689b4c420dd2e6bfa204cd4c3703b6fd31b9 parent 9ff2cd39d686a309bed4102ad35e30ae1c62d7d0 Author: n0tr1v <n0tr1v@protonmail.com> Date: Wed, 11 Jan 2023 15:32:49 -0800 cleanup Diffstat:
| M | pkg/web/handlers/api/v1/topBarHandler.go | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/handlers/api/v1/topBarHandler.go b/pkg/web/handlers/api/v1/topBarHandler.go @@ -211,7 +211,7 @@ func ChatTopBarHandler(c echo.Context) error { } // If the tutorial is not completed, just render the chat top-bar, no matter what. - if (room.ID < 5 || (room.IsListed && !room.IsProtected())) && !authUser.TutorialCompleted() { + if (room.IsOfficialRoom() || (room.IsListed && !room.IsProtected())) && !authUser.TutorialCompleted() { return c.Render(http.StatusOK, "chat-top-bar", data) }