Commit 099713dd authored by Grant's avatar Grant
Browse files

default have chat enabled

parent 8801efc9
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -35,7 +35,11 @@ export const AppContext = ({ children }: PropsWithChildren) => {

  useEffect(() => {
    function loadSettings() {
      setLoadChat(localStorage.getItem("matrix.enable") === "true");
      setLoadChat(
        localStorage.getItem("matrix.enable") === null
          ? true
          : localStorage.getItem("matrix.enable") === "true"
      );
    }

    function handleConfig(config: ClientConfig) {