aboutsummaryrefslogtreecommitdiff
path: root/xcode/OLMKit/OLMAccount.m
diff options
context:
space:
mode:
authormanuroe <manu@matrix.org>2016-10-13 16:10:00 +0200
committermanuroe <manu@matrix.org>2016-10-13 16:10:00 +0200
commitd1060af8f0dec312447567cce0bc812c82b7343f (patch)
treee4da1c64af4c52fe48ce5db960f7d5b2f2cee5ff /xcode/OLMKit/OLMAccount.m
parent3cb01fd27971a6f8c5d76fddb8676ef76c636a23 (diff)
OLMKit: Renamed [OLMAccount markKeysAsPublished] into [OLMAccount markOneTimeKeysAsPublished] and implemented it
Diffstat (limited to 'xcode/OLMKit/OLMAccount.m')
-rw-r--r--xcode/OLMKit/OLMAccount.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/xcode/OLMKit/OLMAccount.m b/xcode/OLMKit/OLMAccount.m
index d0f82a8..085b487 100644
--- a/xcode/OLMKit/OLMAccount.m
+++ b/xcode/OLMKit/OLMAccount.m
@@ -157,6 +157,11 @@
return YES;
}
+- (void)markOneTimeKeysAsPublished
+{
+ olm_account_mark_keys_as_published(self.account);
+}
+
#pragma mark OLMSerializable
/** Initializes from encrypted serialized data. Will throw error if invalid key or invalid base64. */