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

Adding a room to a community(using api) #318

Open
ehounake opened this issue Jan 12, 2021 · 2 comments
Open

Adding a room to a community(using api) #318

ehounake opened this issue Jan 12, 2021 · 2 comments

Comments

@ehounake
Copy link

We are trying to add some rooms to communities using events endpoint like this:
_http://${MatrixHost}/matrix/client/r0/rooms/${roomId}/state/m.room.related_groups?user_id=${masqId}

...and sending what it seems adding a room from the community page manually sent as event content:
{"groups": ["+agroup:adomain.net"]}

The event m.room.related_groups is registered but after clicking communities icons to filter rooms, only the ones added manually are visible.
Not sure it is just missing api or hidden since I cannot find any api documentation on it.

@t3chguy
Copy link
Member

t3chguy commented Jan 12, 2021

That is the state event for storing room settings flair. The groups APIs are not implemented in this SDK and very shortly will be replaced with Spaces which just makes use of standard room APIs

@ehounake
Copy link
Author

ehounake commented Jan 13, 2021

In that case is there a way to do that by querying synapse? (since I don't know exactly when these Spaces apis will be implemented)

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

No branches or pull requests

2 participants