From 596a3cc4538fe6f9148a1cb62955b9df3721a772 Mon Sep 17 00:00:00 2001 From: Tissevert Date: Mon, 23 Dec 2019 22:28:05 +0100 Subject: [PATCH] Keep track of login state in session module, it might be useful somewhere --- www/session.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/session.js b/www/session.js index f231d87..69ae3f0 100644 --- a/www/session.js +++ b/www/session.js @@ -12,6 +12,7 @@ function Session(modules) { modules.messaging.addEventListener(["LogIn"], function(o) { if(is(o.from)) { name = o.as; + loggedIn = true; } });