diff options
author | mathieui <mathieui@mathieui.net> | 2021-02-17 21:43:43 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-02-17 22:04:20 +0100 |
commit | ee8a3c11210d1b5a14fdb9c9a760e100c79b3d93 (patch) | |
tree | 4979a2b06c8d51f176eb8dc7002aba6fe8b7e0ee /poezio/core | |
parent | 5a9e143c53ce6958a09737c8ed8d57924fc9206f (diff) | |
download | poezio-ee8a3c11210d1b5a14fdb9c9a760e100c79b3d93.tar.gz poezio-ee8a3c11210d1b5a14fdb9c9a760e100c79b3d93.tar.bz2 poezio-ee8a3c11210d1b5a14fdb9c9a760e100c79b3d93.tar.xz poezio-ee8a3c11210d1b5a14fdb9c9a760e100c79b3d93.zip |
muc: remove non-deterministic nick colors
Diffstat (limited to 'poezio/core')
-rw-r--r-- | poezio/core/core.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py index efab8810..08ad8799 100644 --- a/poezio/core/core.py +++ b/poezio/core/core.py @@ -329,7 +329,6 @@ class Core: ('connection_check_interval', self.xmpp.set_keepalive_values), ('connection_timeout_delay', self.xmpp.set_keepalive_values), ('create_gaps', self.on_gaps_config_change), - ('deterministic_nick_colors', self.on_nick_determinism_changed), ('enable_carbons', self.on_carbons_switch), ('enable_vertical_tab_list', self.on_vertical_tab_list_config_change), @@ -441,14 +440,6 @@ class Core: """ self.xmpp.password = value - def on_nick_determinism_changed(self, option, value): - """If we change the value to true, we call /recolor on all the MucTabs, to - make the current nick colors reflect their deterministic value. - """ - if value.lower() == "true": - for tab in self.get_tabs(tabs.MucTab): - tab.command_recolor('') - def on_carbons_switch(self, option, value): """Whenever the user enables or disables carbons using /set, we should inform the server immediately, this way we do not require a restart |