buffer: Post the encryption error message in the current buffer.

This commit is contained in:
Damir Jelić 2018-10-21 13:36:01 +02:00
parent a46a50fd74
commit 45d83cc1b1

View file

@ -94,7 +94,7 @@ def room_buffer_input_cb(server_name, buffer, input_data):
server.room_send_message(room_buffer, formatted_data, "m.text") server.room_send_message(room_buffer, formatted_data, "m.text")
except OlmTrustError as e: except OlmTrustError as e:
m = ("Untrusted devices found in room: {}".format(e)) m = ("Untrusted devices found in room: {}".format(e))
server.error(m) room_buffer.error(m)
pass pass
return W.WEECHAT_RC_OK return W.WEECHAT_RC_OK