forked from jmug/stoatchat
fix: actually transfer group ownership
This commit is contained in:
@@ -83,6 +83,7 @@ pub async fn req(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Transfer ownership
|
// Transfer ownership
|
||||||
|
partial.owner = Some(new_owner.to_string());
|
||||||
let old_owner = std::mem::replace(owner, new_owner.to_string());
|
let old_owner = std::mem::replace(owner, new_owner.to_string());
|
||||||
|
|
||||||
// Notify clients
|
// Notify clients
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
use crate::Result;
|
|
||||||
|
|
||||||
mod admin {
|
mod admin {
|
||||||
pub mod migrations;
|
pub mod migrations;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user