diff --git a/python/olm/account.py b/python/olm/account.py index 3c9ea88ad16109479557a55877ba46dfced9eb82..b103a51616cdbf619da56737d945840464f006dc 100644 --- a/python/olm/account.py +++ b/python/olm/account.py @@ -53,6 +53,10 @@ account_function( c_size_t, c_void_p, c_size_t ) +account_function( + lib.olm_remove_one_time_keys, + c_void_p # Session +) class Account(object): @@ -122,5 +126,11 @@ class Account(object): self.ptr, count, random_buffer, random_length ) + def remove_one_time_keys(self, session): + lib.olm_remove_one_time_keys( + self.ptr, + session.ptr + ) + def clear(self): pass