Switch to mautrix-python crypto

This commit is contained in:
Tulir Asokan
2020-07-08 23:05:39 +03:00
parent bbfcc9d7d8
commit 4e670a8cbe
11 changed files with 99 additions and 26 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ except ImportError:
VideoFileClip = None
try:
from nio.crypto import encrypt_attachment
from mautrix.crypto.attachments import encrypt_attachment
except ImportError:
encrypt_attachment = None