bugfix
This commit is contained in:
parent
004a575c81
commit
425fcd3a7c
1 changed files with 4 additions and 3 deletions
|
@ -306,10 +306,10 @@ class Callbacks:
|
|||
async def key_verification_accept(self, event: KeyVerificationKey):
|
||||
sas = self.matrix_client.key_verifications[event.transaction_id]
|
||||
emoji_list = sas.get_emoji()
|
||||
emoji_txt = emoji_list.join(" ")
|
||||
emoji_str = " ".join(emoji for emoji, alt_text in emoji_list)
|
||||
|
||||
logger.info(
|
||||
f"Received request to verify emojis from {event.sender}: {emoji_txt}"
|
||||
f"Received request to verify emojis from {event.sender}: {emoji_str}"
|
||||
)
|
||||
|
||||
event_response = await self.matrix_client.confirm_short_auth_string(
|
||||
|
@ -353,8 +353,9 @@ class Callbacks:
|
|||
)
|
||||
return
|
||||
|
||||
verified_devices = " ".join(sas.verified_devices)
|
||||
logger.info(
|
||||
f"Successfully verified devices from {event.sender}: {sas.verified_devices.join(' ')}"
|
||||
f"Successfully verified devices from {event.sender}: {verified_devices}"
|
||||
)
|
||||
|
||||
async def unknown(self, room: MatrixRoom, event: UnknownEvent) -> None:
|
||||
|
|
Loading…
Reference in a new issue