mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 05:46:30 +03:00
refactor(oauth): safe oauth2 and remove custom json parser (#80)
* refactor(oauth): safe oauth2 and remove custom json parser Closes #46,#53
This commit is contained in:
committed by
GitHub
parent
94aa314f30
commit
a247e5b143
@@ -839,7 +839,7 @@ pub unsafe fn dc_get_contact_encrinfo(
|
||||
.map(|k| k.formatted_fingerprint_c())
|
||||
.unwrap_or(std::ptr::null_mut());
|
||||
if peerstate.addr.is_some()
|
||||
&& to_str((*loginparam).addr) < peerstate.addr.as_ref().unwrap()
|
||||
&& to_str((*loginparam).addr) < peerstate.addr.as_ref().unwrap().as_str()
|
||||
{
|
||||
cat_fingerprint(
|
||||
&mut ret,
|
||||
|
||||
Reference in New Issue
Block a user