From b2986f45f9aeb7156d5759d39238cbf8f6b00371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Fri, 2 Jan 2026 20:26:58 +0100 Subject: [PATCH] [length_notifier] Use public API for getting message input --- length_notifier/length_notifier.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/length_notifier/length_notifier.py b/length_notifier/length_notifier.py index 38a1720..9a4ef8c 100644 --- a/length_notifier/length_notifier.py +++ b/length_notifier/length_notifier.py @@ -95,7 +95,9 @@ class LengthNotifierPlugin(GajimPlugin): def _create_counter(self) -> None: assert self._message_action_box is not None assert self._actions_box_widget is not None - self._counter = Counter(self._message_action_box.msg_textview, self.config) + self._counter = Counter( + self._message_action_box.get_message_input(), self.config + ) self._actions_box_widget.append(self._counter) def _message_actions_box_created(