diff --git a/xcode/OLMKit/OLMAccount.h b/xcode/OLMKit/OLMAccount.h
index a2923f9b8b4b8407f9adbfc84a096b1f7a2873c1..382be318af4a0c00a5d8a267e7557488534e6c5d 100644
--- a/xcode/OLMKit/OLMAccount.h
+++ b/xcode/OLMKit/OLMAccount.h
@@ -28,7 +28,7 @@
 - (BOOL) removeOneTimeKeysForSession:(OLMSession*)session;
 
 /** Marks the current set of one time keys as being published. */
-- (void) markKeysAsPublished;
+- (void) markOneTimeKeysAsPublished;
 
 /** The largest number of one time keys this account can store. */
 - (NSUInteger) maxOneTimeKeys;
diff --git a/xcode/OLMKit/OLMAccount.m b/xcode/OLMKit/OLMAccount.m
index d0f82a885baf9d2d5bc71f7e4bcb6e47c76f4759..085b4874309f96546eb82f5679ea03a75bf7b541 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. */