From 45d83cc1b12a86c08700a24311e2576d4c74dab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Sun, 21 Oct 2018 13:36:01 +0200 Subject: [PATCH] buffer: Post the encryption error message in the current buffer. --- matrix/buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/buffer.py b/matrix/buffer.py index 5f0d8c1..3b588c5 100644 --- a/matrix/buffer.py +++ b/matrix/buffer.py @@ -94,7 +94,7 @@ def room_buffer_input_cb(server_name, buffer, input_data): server.room_send_message(room_buffer, formatted_data, "m.text") except OlmTrustError as e: m = ("Untrusted devices found in room: {}".format(e)) - server.error(m) + room_buffer.error(m) pass return W.WEECHAT_RC_OK