Fix ability to create more than one team. Add chat notifications

This commit is contained in:
yflory
2019-10-04 17:30:42 +02:00
parent f8224ea427
commit 7a8908c93e
3 changed files with 42 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ define([
};
Notifier.notify = function (data) {
if (Visible.isSupported() && !Visible.currently()) {
if (Visible.isSupported() && (!Visible.currently() || (data && data.force))) {
if (data) {
var title = data.title;
if (document.title) { title += ' (' + document.title + ')'; }