server: Don't try to show a short auth string if the SAS object is canceled.
This commit is contained in:
parent
f294ae5e68
commit
9d6fbe14cd
1 changed files with 3 additions and 0 deletions
|
@ -392,6 +392,9 @@ class MatrixServer(object):
|
|||
if not sas:
|
||||
return
|
||||
|
||||
if sas.canceled:
|
||||
return
|
||||
|
||||
device = sas.other_olm_device
|
||||
emoji = sas.get_emoji()
|
||||
|
||||
|
|
Loading…
Reference in a new issue