cargo fmt

This commit is contained in:
Simon Laux
2019-09-02 15:57:11 +02:00
committed by holger krekel
parent 5b993f601f
commit 1d09d2f0d1

View File

@@ -754,10 +754,7 @@ pub unsafe fn dc_handle_securejoin_handshake(
ok_to_continue = true; ok_to_continue = true;
} }
if ok_to_continue { if ok_to_continue {
if 0 == mark_peer_as_verified( if 0 == mark_peer_as_verified(context, &scanned_fingerprint_of_alice) {
context,
&scanned_fingerprint_of_alice,
) {
could_not_establish_secure_connection( could_not_establish_secure_connection(
context, context,
contact_chat_id, contact_chat_id,
@@ -779,10 +776,7 @@ pub unsafe fn dc_handle_securejoin_handshake(
if 0 != join_vg { if 0 != join_vg {
if !addr_equals_self( if !addr_equals_self(
context, context,
as_str(lookup_field( as_str(lookup_field(mimeparser, "Chat-Group-Member-Added")),
mimeparser,
"Chat-Group-Member-Added",
)),
) { ) {
info!( info!(
context, context,