Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
62b576b9
Commit
62b576b9
authored
May 24, 2018
by
Wilfried Klaebe
Committed by
Richard van der Hoff
May 29, 2018
Browse files
Python: add binding for olm_remove_one_time_keys
Signed-off-by:
Wilfried Klaebe
<
w+gitstuff@chaos.in-kiel.de
>
parent
4065c8e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/olm/account.py
View file @
62b576b9
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment