Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilise m.space.parent event #227

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Utilise m.space.parent event #227

wants to merge 9 commits into from

Conversation

aofn
Copy link
Member

@aofn aofn commented Jul 2, 2024

  • add m.space.parent event to new rooms
  • add m.space.parent event when adding space children
  • remove m.space.parent event when removing space children

Discusstion

aofn added 9 commits June 25, 2024 14:36
- Added waitForRoom function to retry getting room object to make sure the room is available
- Incorporated power level check using hasSufficientPowerLevelFor before trying to add a child to a parent
- Refactored existing parent space check to use room.currentState.getStateEvents
…s from the room

- refactor deleteProject.js to ensure async actions and improve readability.
- use removeChildFromParent function when deleting a project
…s from the room

- refactor deleteProject.js to ensure async actions and improve readability.
- use removeChildFromParent function when deleting a project
…ction, so it only removes one event from the child id if parent parsed, otherwise remove all events

- delete parent/child events when removing a project from a context
- use removeSpaceChild function
@aofn aofn marked this pull request as ready for review July 2, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant