diff --git a/src/common/optparser.py b/src/common/optparser.py index e2167c2c4..b4343a1ea 100644 --- a/src/common/optparser.py +++ b/src/common/optparser.py @@ -142,8 +142,8 @@ class OptionsParser: self.update_config_x_to_09() if old < [0, 10] and new >= [0, 10]: self.update_config_09_to_010() - if old < [0, 10, 0, 1] and new >= [0, 10, 0, 1]: - self.update_config_to_01001() + if old < [0, 10, 1, 1] and new >= [0, 10, 1, 1]: + self.update_config_to_01011() def update_config_x_to_09(self): # Var name that changed: @@ -258,6 +258,7 @@ class OptionsParser: gajim.config.set('version', '0.10') - def update_config_to_01001(self): - gajim.config.set('print_status_in_muc', 'in_and_out') - gajim.config.set('version', '0.10.0.1') + def update_config_to_01011(self): + if self.old_values['print_status_in_muc'] in (True, False): + gajim.config.set('print_status_in_muc', 'in_and_out') + gajim.config.set('version', '0.10.1.1')