server: Show KeyVerificationCancel events.
This commit is contained in:
parent
9d6fbe14cd
commit
c3b3567e61
1 changed files with 7 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue