forked from jmug/stoatchat
Servers: Add description field.
API: Allow removal of description on channels and servers.
This commit is contained in:
@@ -42,6 +42,8 @@ pub struct Server {
|
||||
pub owner: String,
|
||||
|
||||
pub name: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub description: Option<String>,
|
||||
pub channels: Vec<String>,
|
||||
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
||||
Reference in New Issue
Block a user