diff options
author | manuroe <manu@matrix.org> | 2016-09-30 08:16:58 +0200 |
---|---|---|
committer | manuroe <manu@matrix.org> | 2016-09-30 08:16:58 +0200 |
commit | 2ca67ace604962cb0d658d40515113ef99a51214 (patch) | |
tree | 319f9bc4e7e7e4972cfdc91b8fa510bd89c560d1 /xcode/OLMKit/OLMAccount.m | |
parent | 45ecaaedd1eab582965f2cca8d2a04e6c906491b (diff) |
OLMKit: OLMAccount: Replace a olm_session_last_error by olm_account_last_error
Diffstat (limited to 'xcode/OLMKit/OLMAccount.m')
-rw-r--r-- | xcode/OLMKit/OLMAccount.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xcode/OLMKit/OLMAccount.m b/xcode/OLMKit/OLMAccount.m index 77fddac..d0f82a8 100644 --- a/xcode/OLMKit/OLMAccount.m +++ b/xcode/OLMKit/OLMAccount.m @@ -150,7 +150,7 @@ } size_t result = olm_remove_one_time_keys(self.account, session.session); if (result == olm_error()) { - const char *error = olm_session_last_error(session.session); + const char *error = olm_account_last_error(_account); NSAssert(NO, @"olm_remove_one_time_keys error: %s", error); return NO; } |