From c3b3567e6143322aabc894508bb44035e9511391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 7 May 2019 22:32:22 +0200 Subject: [PATCH] server: Show KeyVerificationCancel events. --- matrix/server.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/matrix/server.py b/matrix/server.py index 1cbfb55..9d766ae 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -462,6 +462,13 @@ class MatrixServer(object): device.user_id )) + elif isinstance(event, KeyVerificationCancel): + self.info_highlight("The interactive device verification with " + "user {} got canceled: {}.".format( + event.sender, + event.reason + )) + def update_option(self, option, option_name): if option_name == "address": self._change_client()