diff options
author | Samuel Hand <samuel.hand@openmailbox.org> | 2018-06-11 07:11:04 +0100 |
---|---|---|
committer | Samuel Hand <samuel.hand@openmailbox.org> | 2018-06-11 07:11:22 +0100 |
commit | 40c6835600cc6ebcb816f9aee4a6540ef8e362f0 (patch) | |
tree | a3bcbb33edeb469e1b7c17241a5cc40189287056 /plugins/signal-protocol | |
parent | 630df3a2ee3ac5086ab15ecbb4da88e0e2e9c82d (diff) | |
download | dino-40c6835600cc6ebcb816f9aee4a6540ef8e362f0.tar.gz dino-40c6835600cc6ebcb816f9aee4a6540ef8e362f0.zip |
Add trust management utilities to the omemo plugin
Diffstat (limited to 'plugins/signal-protocol')
-rw-r--r-- | plugins/signal-protocol/src/store.vala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/signal-protocol/src/store.vala b/plugins/signal-protocol/src/store.vala index eab57e5b..8a0e5853 100644 --- a/plugins/signal-protocol/src/store.vala +++ b/plugins/signal-protocol/src/store.vala @@ -375,6 +375,10 @@ public class Store : Object { return throw_by_code(Protocol.Session.contains_session(native_context, other)) == 1; } + public void delete_session(Address address) throws Error { + throw_by_code(Protocol.Session.delete_session(native_context, address)); + } + public SessionRecord load_session(Address other) throws Error { SessionRecord record; throw_by_code(Protocol.Session.load_session(native_context, out record, other)); @@ -410,4 +414,4 @@ public class Store : Object { } } -}
\ No newline at end of file +} |