From b8c655b3d42b837a2ef407a6ff7c844bd65af808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 2 Nov 2018 14:04:22 +0100 Subject: [PATCH] commands: Update the buffer modes bar items after an olm command run. --- matrix/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/matrix/commands.py b/matrix/commands.py index 0395ac8..7ab5edf 100644 --- a/matrix/commands.py +++ b/matrix/commands.py @@ -612,6 +612,9 @@ def matrix_olm_command_cb(data, buffer, args): prefix=W.prefix("error"))) W.prnt(server.server_buffer, message) + W.bar_item_update("buffer_modes") + W.bar_item_update("matrix_modes") + return W.WEECHAT_RC_OK for server in SERVERS.values():