python: Expose the method to forget the old fallback key
This commit is contained in:
parent
85a2f47088
commit
701f9c765d
1 changed files with 9 additions and 0 deletions
|
@ -294,6 +294,15 @@ class Account(object):
|
|||
)
|
||||
)
|
||||
|
||||
def forget_old_fallback_key(self):
|
||||
"""Forget about the old fallback key.
|
||||
|
||||
This should be called once you are reasonably certain that you will not
|
||||
receive any more messages that use the old fallback key (e.g. 5 minutes
|
||||
after the new fallback key has been published).
|
||||
"""
|
||||
lib.olm_account_forget_old_fallback_key(self._account)
|
||||
|
||||
@property
|
||||
def fallback_key(self):
|
||||
"""The public part of the current fallback for this account.
|
||||
|
|
Loading…
Reference in a new issue