mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-20 23:43:51 +01:00
undefined is empty. Fixed bug where empty bingWords with old accounts which hadn't logged in didn't send notifications.
This commit is contained in:
parent
9fd0c74e90
commit
3dea0d2806
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ function(matrixService, $rootScope, $q, $timeout, mPresence) {
|
||||||
|
|
||||||
// always bing if there are 0 bing words... apparently.
|
// always bing if there are 0 bing words... apparently.
|
||||||
var bingWords = matrixService.config().bingWords;
|
var bingWords = matrixService.config().bingWords;
|
||||||
if (bingWords && bingWords.length === 0) {
|
if (bingWords === undefined || bingWords.length === 0) {
|
||||||
shouldBing = true;
|
shouldBing = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue