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
@@ -52,7 +52,7 @@ if TYPE_CHECKING:
from ..config import Config
try:
from nio.crypto import decrypt_attachment
from mautrix.crypto.attachments import decrypt_attachment
except ImportError:
decrypt_attachment = None