Commit a623f8f5 authored by Grant's avatar Grant
Browse files

bump matrix notification check to 60s instead of 1s

(what was i thinking)
parent c0126646
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ export const ChatContext = ({ children }: PropsWithChildren) => {

  useEffect(() => {
    checkForAccessToken();
    checkNotifs.current = setInterval(checkForNotifs, 1000);
    checkNotifs.current = setInterval(checkForNotifs, 1000 * 60);

    return () => {
      window.removeEventListener("focus", handleWindowFocus);