diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-18 16:17:29 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-18 16:17:29 +0100 |
commit | 3dea0d280637606ec7e6aa77b2343548b8fdcb29 (patch) | |
tree | dcbe479bc900d0294b7ada5c230936e0674a8e02 /webclient/components | |
parent | Bump changelog and versions (diff) | |
download | synapse-3dea0d280637606ec7e6aa77b2343548b8fdcb29.tar.xz |
undefined is empty. Fixed bug where empty bingWords with old accounts which hadn't logged in didn't send notifications.
Diffstat (limited to 'webclient/components')
-rw-r--r-- | webclient/components/matrix/event-handler-service.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/event-handler-service.js b/webclient/components/matrix/event-handler-service.js index 321054f904..c7be65720a 100644 --- a/webclient/components/matrix/event-handler-service.js +++ b/webclient/components/matrix/event-handler-service.js @@ -189,7 +189,7 @@ function(matrixService, $rootScope, $q, $timeout, mPresence) { // always bing if there are 0 bing words... apparently. var bingWords = matrixService.config().bingWords; - if (bingWords && bingWords.length === 0) { + if (bingWords === undefined || bingWords.length === 0) { shouldBing = true; } |