olm: Don't store the server in the olm class.

This commit is contained in:
poljar (Damir Jelić) 2018-03-06 13:47:51 +01:00
parent c52b7866c8
commit b309be8a98

View file

@ -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: