OLMKit: OLMAccount: Replace a olm_session_last_error by olm_account_last_error
This commit is contained in:
parent
45ecaaedd1
commit
2ca67ace60
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue