From b309be8a98c30e122f99d372480700983e0af8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Tue, 6 Mar 2018 13:47:51 +0100 Subject: [PATCH] olm: Don't store the server in the olm class. --- matrix/encryption.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/matrix/encryption.py b/matrix/encryption.py index 9291b5f..d180d27 100644 --- a/matrix/encryption.py +++ b/matrix/encryption.py @@ -150,9 +150,8 @@ class EncryptionError(Exception): class Olm(): @encrypt_enabled - def __init__(self, server, account=None): + def __init__(self, account=None): # type: (Server, Account) -> None - self.server = server if account: self.account = account else: