feat(matrix): log e2ee status
Signed-off-by: xtex <xtexchooser@duck.com>
This commit is contained in:
parent
95736eea91
commit
4e44feca89
1 changed files with 4 additions and 0 deletions
|
@ -41,5 +41,9 @@ if homeserver and user and token:
|
|||
store_path=store_path_nio,
|
||||
config=AsyncClientConfig(store_sync_tokens=True))
|
||||
bot.restore_login(user, device_id, token)
|
||||
if bot.olm:
|
||||
Logger.info(f"Matrix E2E encryption support available")
|
||||
else:
|
||||
Logger.info(f"Matrix E2E encryption support not available")
|
||||
else:
|
||||
bot = False
|
||||
|
|
Reference in a new issue