OLMKit: Renamed [OLMAccount markKeysAsPublished] into [OLMAccount markOneTimeKeysAsPublished] and implemented it
This commit is contained in:
parent
3cb01fd279
commit
d1060af8f0
2 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue