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