Skip to content
Snippets Groups Projects
Commit 3dea0d28 authored by Kegan Dougal's avatar Kegan Dougal
Browse files

undefined is empty. Fixed bug where empty bingWords with old accounts which...

undefined is empty. Fixed bug where empty bingWords with old accounts which hadn't logged in didn't send notifications.
parent 9fd0c74e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment