server: Don't try to show a short auth string if the SAS object is canceled.

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

View file

@ -392,6 +392,9 @@ class MatrixServer(object):
if not sas: if not sas:
return return
if sas.canceled:
return
device = sas.other_olm_device device = sas.other_olm_device
emoji = sas.get_emoji() emoji = sas.get_emoji()