commands: Update the buffer modes bar items after an olm command run.

This commit is contained in:
Damir Jelić 2018-11-02 14:04:22 +01:00
parent 34b884b892
commit b8c655b3d4

View file

@ -612,6 +612,9 @@ def matrix_olm_command_cb(data, buffer, args):
prefix=W.prefix("error"))) prefix=W.prefix("error")))
W.prnt(server.server_buffer, message) W.prnt(server.server_buffer, message)
W.bar_item_update("buffer_modes")
W.bar_item_update("matrix_modes")
return W.WEECHAT_RC_OK return W.WEECHAT_RC_OK
for server in SERVERS.values(): for server in SERVERS.values():