Keep track of login state in session module, it might be useful somewhere
This commit is contained in:
parent
c329ed556c
commit
596a3cc453
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ function Session(modules) {
|
||||||
modules.messaging.addEventListener(["LogIn"], function(o) {
|
modules.messaging.addEventListener(["LogIn"], function(o) {
|
||||||
if(is(o.from)) {
|
if(is(o.from)) {
|
||||||
name = o.as;
|
name = o.as;
|
||||||
|
loggedIn = true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue