From 7c38d55c3c0b40bad68a24b25e3e0aee82b4dd8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Wed, 17 Jan 2018 10:10:57 +0100 Subject: [PATCH] Fix the server buffer merging configuration. --- weechat-matrix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weechat-matrix.py b/weechat-matrix.py index be18175..3a0f221 100644 --- a/weechat-matrix.py +++ b/weechat-matrix.py @@ -1441,7 +1441,8 @@ def matrix_config_change_cb(data, option): if option_name == "redactions": GLOBAL_OPTIONS.redaction_type = RedactType(W.config_integer(option)) elif option_name == "server_buffer": - GLOBAL_OPTIONS.look_server_buf = W.config_integer(option) + GLOBAL_OPTIONS.look_server_buf = ServerBufferType( + W.config_integer(option)) return 1