diff --git a/data/gui/accounts_window.ui b/data/gui/accounts_window.ui
index ff23dadd5..74177230f 100644
--- a/data/gui/accounts_window.ui
+++ b/data/gui/accounts_window.ui
@@ -572,6 +572,22 @@
3
+
+
+
+ False
+ False
+ 4
+
+
diff --git a/src/config.py b/src/config.py
index 006e4e4a8..494f77754 100644
--- a/src/config.py
+++ b/src/config.py
@@ -1996,6 +1996,8 @@ class AccountsWindow:
self.xml.get_object('sync_with_global_status_checkbutton1').set_active(
gajim.config.get_per('accounts', account,
'sync_with_global_status'))
+ self.xml.get_object('carbons_checkbutton1').set_active(
+ gajim.config.get_per('accounts', account, 'enable_message_carbons'))
self.xml.get_object('use_ft_proxies_checkbutton1').set_active(
gajim.config.get_per('accounts', account, 'use_ft_proxies'))
@@ -2351,6 +2353,12 @@ class AccountsWindow:
account=self.current_account)
gajim.interface.roster.update_status_combobox()
+ def on_carbons_checkbutton_toggled(self, widget):
+ if self.ignore_events:
+ return
+ self.on_checkbutton_toggled(widget, 'enable_message_carbons',
+ account=self.current_account)
+
def on_use_ft_proxies_checkbutton1_toggled(self, widget):
if self.ignore_events:
return