Skip to content
Snippets Groups Projects
Commit 62b576b9 authored by Wilfried Klaebe's avatar Wilfried Klaebe Committed by Richard van der Hoff
Browse files

Python: add binding for olm_remove_one_time_keys

parent 4065c8e1
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment