add: channel mutes
This commit is contained in:
parent
02f3d08926
commit
884a89904e
17 changed files with 149 additions and 7 deletions
|
@ -86,6 +86,9 @@ pub struct User {
|
|||
/// The reason the user was banned.
|
||||
#[serde(default)]
|
||||
pub ban_reason: String,
|
||||
/// IDs of channels the user has muted.
|
||||
#[serde(default)]
|
||||
pub channel_mutes: Vec<usize>,
|
||||
}
|
||||
|
||||
pub type UserConnections =
|
||||
|
@ -387,6 +390,7 @@ impl User {
|
|||
browser_session: String::new(),
|
||||
seller_data: StripeSellerData::default(),
|
||||
ban_reason: String::new(),
|
||||
channel_mutes: Vec::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue