add community creation flow

This commit is contained in:
2026-09-19 08:14:03 +07:00
parent 907347d002
commit 0328d35945
8 changed files with 126 additions and 33 deletions
+7
View File
@@ -70,6 +70,13 @@ impl Community {
&self.state
}
pub fn name(&self) -> String {
match &self.control.community {
Some(metadata) => metadata.name.clone(),
None => self.state.id.to_hex(),
}
}
pub fn control(&self) -> &ControlFold {
&self.control
}