mirror of
https://github.com/chatmail/core.git
synced 2026-04-02 05:22:14 +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
|
||||
let grpname = mime_parser
|
||||
.get_subject()
|
||||
.unwrap_or("Unnamed group".to_string());
|
||||
.unwrap_or_else(|| "Unnamed group".to_string());
|
||||
|
||||
// create group record
|
||||
let new_chat_id: ChatId = create_group_record(
|
||||
|
||||
Reference in New Issue
Block a user