From 3dea0d280637606ec7e6aa77b2343548b8fdcb29 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 18 Sep 2014 16:17:29 +0100 Subject: [PATCH 1/2] undefined is empty. Fixed bug where empty bingWords with old accounts which hadn't logged in didn't send notifications. --- webclient/components/matrix/event-handler-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/components/matrix/event-handler-service.js b/webclient/components/matrix/event-handler-service.js index 321054f90..c7be65720 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; } From 380852b58e6ab96a8d186bbfe3d95ac9284ceaf3 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 18 Sep 2014 16:20:53 +0100 Subject: [PATCH 2/2] Bump Changelog and version --- CHANGES.rst | 7 +++++++ VERSION | 2 +- synapse/__init__.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index edf32db75..9e884e51b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,10 @@ +Changes in synapse 0.3.2 (2014-09-18) +===================================== + +Webclient: + * Fix bug where an empty "bing words" list in old accounts didn't send + notifications when it should have done. + Changes in synapse 0.3.1 (2014-09-18) ===================================== This is a release to hotfix v0.3.0 to fix two regressions. diff --git a/VERSION b/VERSION index 9e11b32fc..d15723fbe 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.1 +0.3.2 diff --git a/synapse/__init__.py b/synapse/__init__.py index 1b49cbb38..0dbad9a0d 100644 --- a/synapse/__init__.py +++ b/synapse/__init__.py @@ -16,4 +16,4 @@ """ This is a reference implementation of a synapse home server. """ -__version__ = "0.3.1" +__version__ = "0.3.2"