forked from jmug/stoatchat
Servers: Add new system messages.
This commit is contained in:
@@ -52,6 +52,14 @@ pub async fn req(user: User, info: Json<Data>) -> Result<JsonValue> {
|
||||
name: info.name,
|
||||
description: info.description,
|
||||
channels: vec![cid.clone()],
|
||||
system_messages: Some(
|
||||
SystemMessageChannels {
|
||||
user_joined: Some(cid.clone()),
|
||||
user_left: Some(cid.clone()),
|
||||
user_kicked: Some(cid.clone()),
|
||||
user_banned: Some(cid.clone())
|
||||
}
|
||||
),
|
||||
|
||||
icon: None,
|
||||
banner: None,
|
||||
|
||||
Reference in New Issue
Block a user