mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 05:46:29 +03:00
refactor: Rename chat::create_group_chat() to create_group()
If we use modules (which are actually namespaces), we can use shorter names. Another approach is to only use modules for internal code incapsulation and use full names like deltachat-ffi does.
This commit is contained in:
@@ -1730,7 +1730,7 @@ pub unsafe extern "C" fn dc_create_group_chat(
|
||||
}
|
||||
let ctx = &*context;
|
||||
|
||||
block_on(chat::create_group_chat(ctx, &to_string_lossy(name)))
|
||||
block_on(chat::create_group(ctx, &to_string_lossy(name)))
|
||||
.context("Failed to create group chat")
|
||||
.log_err(ctx)
|
||||
.map(|id| id.to_u32())
|
||||
|
||||
Reference in New Issue
Block a user