Keep track of login state in session module, it might be useful somewhere

This commit is contained in:
Tissevert 2019-12-23 22:28:05 +01:00
parent c329ed556c
commit 596a3cc453
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ function Session(modules) {
modules.messaging.addEventListener(["LogIn"], function(o) {
if(is(o.from)) {
name = o.as;
loggedIn = true;
}
});