Space room dm fetching #16
No reviewers
Labels
No labels
bug
core
documentation
duplicate
enhancement
experiment
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Streigen/echelon!16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "space-room-dm-fetching"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this implements fetching of spaces, dms and groups.
added methods:
get_spaces: get the spaces the user is inget_rooms: get the rooms the user is in. this will probably not be used much in frontend, sinceget_all_spaces_with_treesandget_dm_roomstogether should be more than enough to never need the genericget_roomsget_all_spaces_with_trees: this returns aVec<RawSpace>type of all the spaces the user is inget_space_tree: ReturnsRawSpace, this function is used withget_all_spaces_with_trees, but is exposed to the frontend if some individual space needs its tree fetched for some reasonget_dm_rooms: Returns all 1:1 dm rooms as well as group chats (which for now I've described as rooms that arent in any space, this does overlap with the legacy space-less rooms though)well done, you finally commented your code my goat
lgtm