forked from jmug/stoatchat
fix: update branch from main
This commit is contained in:
@@ -188,6 +188,7 @@ pub struct LiveKitNode {
|
||||
pub secret: String
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Debug, Clone)]
|
||||
pub struct ApiUsers {
|
||||
pub early_adopter_cutoff: Option<u64>
|
||||
}
|
||||
|
||||
@@ -1141,8 +1141,7 @@ pub async fn run_migrations(db: &MongoDb, revision: i32) -> i32 {
|
||||
"is_publishing": true,
|
||||
"is_receiving": true
|
||||
}
|
||||
},
|
||||
None,
|
||||
}
|
||||
)
|
||||
.await
|
||||
.expect("Failed to update members");
|
||||
@@ -1159,8 +1158,7 @@ pub async fn run_migrations(db: &MongoDb, revision: i32) -> i32 {
|
||||
"channel_type": "TextChannel",
|
||||
"voice": {}
|
||||
}
|
||||
},
|
||||
None
|
||||
}
|
||||
)
|
||||
.await
|
||||
.expect("Failed to update voice channels");
|
||||
|
||||
@@ -98,12 +98,6 @@ pub enum ChannelPermission {
|
||||
/// Mention roles
|
||||
MentionRoles = 1 << 38,
|
||||
|
||||
// * Channel permissions two electric boogaloo
|
||||
/// Mention everyone and online members
|
||||
MentionEveryone = 1 << 37,
|
||||
/// Mention roles
|
||||
MentionRoles = 1 << 38,
|
||||
|
||||
// * Misc. permissions
|
||||
// % Bits 38 to 52: free area
|
||||
// % Bits 53 to 64: do not use
|
||||
|
||||
Reference in New Issue
Block a user