mirror of
https://github.com/chatmail/core.git
synced 2026-05-09 01:46:30 +03:00
Missing paren in the comment
This commit is contained in:
@@ -1255,7 +1255,7 @@ pub async fn create_by_contact_id(context: &Context, contact_id: u32) -> Result<
|
|||||||
let chat_id = match lookup_by_contact_id(context, contact_id).await {
|
let chat_id = match lookup_by_contact_id(context, contact_id).await {
|
||||||
Ok((chat_id, chat_blocked)) => {
|
Ok((chat_id, chat_blocked)) => {
|
||||||
if chat_blocked != Blocked::Not {
|
if chat_blocked != Blocked::Not {
|
||||||
// unblock chat (typically move it from the deaddrop to view
|
// unblock chat (typically move it from the deaddrop to view)
|
||||||
chat_id.unblock(context).await;
|
chat_id.unblock(context).await;
|
||||||
}
|
}
|
||||||
chat_id
|
chat_id
|
||||||
|
|||||||
Reference in New Issue
Block a user