🚧 Add relations between store::Room and store::Area
This commit is contained in:
@@ -208,6 +208,7 @@ impl RoomMessagingConsumerInterface for Room {
|
||||
}
|
||||
}
|
||||
|
||||
#[async_trait(?Send)]
|
||||
impl RoomStoreConsumerInterface for Room {
|
||||
fn id(&self) -> &RoomId {
|
||||
&self.id
|
||||
@@ -220,4 +221,8 @@ impl RoomStoreConsumerInterface for Room {
|
||||
fn name(&self) -> Option<String> {
|
||||
self.name.borrow().clone()
|
||||
}
|
||||
|
||||
fn spaces(&self) -> &Vec<SpaceId> {
|
||||
&self.spaces
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user