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
|
||||
|
||||
Reference in New Issue
Block a user