mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 05:46:30 +03:00
Non-translated messages to the log
This commit is contained in:
@@ -824,7 +824,7 @@ async fn secure_connection_established(context: &Context, contact_chat_id: ChatI
|
|||||||
.await;
|
.await;
|
||||||
chat::add_info_msg(context, contact_chat_id, &msg).await;
|
chat::add_info_msg(context, contact_chat_id, &msg).await;
|
||||||
emit_event!(context, EventType::ChatModified(contact_chat_id));
|
emit_event!(context, EventType::ChatModified(contact_chat_id));
|
||||||
info!(context, "{}", msg);
|
info!(context, "StockMessage::ContactVerified posted to 1:1 chat");
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn could_not_establish_secure_connection(
|
async fn could_not_establish_secure_connection(
|
||||||
@@ -846,7 +846,10 @@ async fn could_not_establish_secure_connection(
|
|||||||
.await;
|
.await;
|
||||||
|
|
||||||
chat::add_info_msg(context, contact_chat_id, &msg).await;
|
chat::add_info_msg(context, contact_chat_id, &msg).await;
|
||||||
error!(context, "{} ({})", &msg, details);
|
error!(
|
||||||
|
context,
|
||||||
|
"StockMessage::ContactNotVerified posted to 1:1 chat ({})", details
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn mark_peer_as_verified(context: &Context, fingerprint: &Fingerprint) -> Result<(), Error> {
|
async fn mark_peer_as_verified(context: &Context, fingerprint: &Fingerprint) -> Result<(), Error> {
|
||||||
|
|||||||
Reference in New Issue
Block a user