olm: Don't store the server in the olm class.
This commit is contained in:
parent
c52b7866c8
commit
b309be8a98
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue