From 0d059b755375f98ef6a4fcb4b305785a9b217384 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 19 Apr 2020 16:08:41 -0400 Subject: [PATCH] matrixsynapse: Handle upgrade to 1.12.* Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- plinth/modules/matrixsynapse/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/modules/matrixsynapse/__init__.py b/plinth/modules/matrixsynapse/__init__.py index 4c1d39173..decf2d795 100644 --- a/plinth/modules/matrixsynapse/__init__.py +++ b/plinth/modules/matrixsynapse/__init__.py @@ -130,9 +130,9 @@ def force_upgrade(helper, packages): if 'matrix-synapse' not in packages: return False - # Allow any lower version to upgrade to 1.8.* + # Allow any lower version to upgrade to 1.12.* package = packages['matrix-synapse'] - if Version(package['new_version']) > Version('1.12~'): + if Version(package['new_version']) > Version('1.13~'): return False public_registration_status = get_public_registration_status()