mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
make clippy happy
This commit is contained in:
@@ -1194,7 +1194,7 @@ fn create_or_lookup_adhoc_group(
|
|||||||
// use subject as initial chat name
|
// use subject as initial chat name
|
||||||
let grpname = mime_parser
|
let grpname = mime_parser
|
||||||
.get_subject()
|
.get_subject()
|
||||||
.unwrap_or("Unnamed group".to_string());
|
.unwrap_or_else(|| "Unnamed group".to_string());
|
||||||
|
|
||||||
// create group record
|
// create group record
|
||||||
let new_chat_id: ChatId = create_group_record(
|
let new_chat_id: ChatId = create_group_record(
|
||||||
|
|||||||
Reference in New Issue
Block a user