server: Show KeyVerificationCancel events.

This commit is contained in:
Damir Jelić 2019-05-07 22:32:22 +02:00
parent 9d6fbe14cd
commit c3b3567e61

View file

@ -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()