From 85ad85587fc2ef36c63334fb0720d2b71a312a59 Mon Sep 17 00:00:00 2001 From: wurstsalat Date: Mon, 18 Oct 2021 23:33:05 +0200 Subject: [PATCH] [length_notifier] Adapt to Gajim changes --- length_notifier/length_notifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/length_notifier/length_notifier.py b/length_notifier/length_notifier.py index 82956c7..ed41401 100644 --- a/length_notifier/length_notifier.py +++ b/length_notifier/length_notifier.py @@ -110,7 +110,7 @@ class LengthNotifierPlugin(GajimPlugin): if not app.plugin_manager.get_active_plugin('length_notifier'): # Don’t update if the plugin is disabled return - for control in app.interface.msg_win_mgr.get_controls(): + for control in app.window.get_controls(): self._disconnect_chat_control(control) self._connect_chat_control(control)