Commit 2ca67ace authored by manuroe's avatar manuroe
Browse files

OLMKit: OLMAccount: Replace a olm_session_last_error by olm_account_last_error

parent 45ecaaed
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment