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

A way to mark room as special custom-protocol rooms (SPEC-111) #21

Open
matrixbot opened this issue Feb 18, 2015 · 6 comments
Open

A way to mark room as special custom-protocol rooms (SPEC-111) #21

matrixbot opened this issue Feb 18, 2015 · 6 comments
Labels
A-Client-Server Issues affecting the CS API feature Suggestion for a significant extension which needs considerable consideration

Comments

@matrixbot
Copy link
Member

Arisen a result of wanting to hide the SMS account room from the UI because there's no useful way for the user to interact with it. Rooms that only contain custom events and no messages should be hidden by regular messaging clients which don't understand the protocol being spoken on them.

(Imported from https://matrix.org/jira/browse/SPEC-111)

(Reported by @dbkr)

@matrixbot
Copy link
Member Author

Jira watchers: @dbkr

@matrixbot matrixbot changed the title A way to mark room as special custom-protocol rooms A way to mark room as special custom-protocol rooms (SPEC-111) Oct 31, 2016
@matrixbot matrixbot added the spec-bug Something which is in the spec, but is wrong label Nov 7, 2016
@gergelypolonkai
Copy link
Contributor

I'm not sure this really is needed. If you make such rooms non public (ie. with a m.room.join_rules event) clients, messaging or not, won't show them unless they explicitly join. If they are for a specialised software, you don't need to list them anyway. Unless there's a use case you didn't tell.

@turt2live
Copy link
Member

The case would be a room dedicated to a service that also uses the user's matrix account. The original post is in relation to a very old SMS bridge, however the concept still applies today. An example use case would be a website which has a "log in with matrix" button on it, where you'd authorize the site to use your account. That site may then create or join a room on your behalf where it stores data or uses the room to communicate to the backend service (by sending events on your behalf). All of this communication would be behind some kind of UI. The idea behind flagging the room as "protocol only" would be so that clients like Riot don't see it, therefore not confusing the user with excess rooms.

@KitsuneRal
Copy link
Member

KitsuneRal commented Dec 15, 2017

Boils down to having one more room tag (m.noui or m.backbone)?

@kythyria
Copy link

kythyria commented Jan 19, 2018

Or room state, named perhaps m.protocols, that contains a list of what specific protocol is in use. A hypothetical etherpad clone that uses matrix for communication and reuses the IM module for the comment sidebar might set it to [ "net.berigora.ethermatrix", "org.matrix.im" ].

If not present, clients would presumably continue assuming IM-dominant, if it's present, hide it unless they recognise the protocols listed. Not sure what should happen if only some of the protocols are recognised; in this hypothetical instance the room might not make terribly much sense viewed in Riot.

@richvdh richvdh removed the spec-bug Something which is in the spec, but is wrong label Mar 5, 2018
@turt2live turt2live added the feature Suggestion for a significant extension which needs considerable consideration label Jul 19, 2018
@turt2live turt2live added the A-Client-Server Issues affecting the CS API label Feb 6, 2019
@KB1RD
Copy link

KB1RD commented Nov 5, 2019

Maybe this could also help with content filtering. Ex, a special state event could be used to determine if a room is visible based on the user's content preferences. So there could be a ["m.im.nsfw"] content type that the user/HS chooses not to participate in. That way, the user would have to opt in to these chats and such chats wouldn't appear in the room directory unless the user wants them to.

... A hypothetical etherpad clone that uses matrix for communication and reuses the IM module for the comment sidebar might set it to [ "net.berigora.ethermatrix", "org.matrix.im" ]. ...

@kythyria https://github.com/KB1RD/matrix-notepad :)

@richvdh richvdh transferred this issue from matrix-org/matrix-spec-proposals Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Client-Server Issues affecting the CS API feature Suggestion for a significant extension which needs considerable consideration
Projects
None yet
Development

No branches or pull requests

7 participants