Fix messaging [WIP] (#1614)

* Fix messaging [WIP]

* Make codeclimate happy

* Codeclimate, pls

* got it, i hope

* Improvements

* Remove duplicated checks, other improvements, make login/logout broadcasts

* Optimize project imports

* Make codeclimate happy again
This commit is contained in:
Gabriele C
2018-08-26 15:29:47 +02:00
committed by GitHub
parent adb3c06f51
commit da7e7edc37
25 changed files with 130 additions and 59 deletions
@@ -71,6 +71,11 @@ public class CacheDataSource implements DataSource {
source.reload();
}
@Override
public boolean isCached() {
return true;
}
@Override
public boolean isAuthAvailable(String user) {
return getAuth(user) != null;