-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Support thirdparty network queries over federation #1152
Comments
Honestly, my pretty deeply held view on this is that we should scrap the thirdparty endpoints and replace them with Matrix rooms + RPC events for quite a few reasons:
There are downsides, such as your query response lingering in the room forever (hence, crypto). I suspect when we finally build out ephemeral messaging for the location sharing project, this can be put to bed though. |
@Half-Shot I do think having a flag in If there already is an MSC for it, point me in that direction. If not, I'd be glad to draft one :)
|
Room types are already in the spec: https://spec.matrix.org/v1.3/client-server-api/#types |
The spec does not indicate what should be done with room types that a client doesn't know about. Right now, unknown room types appear to be shown on most clients as regular rooms; I'm suggesting a "hide-by-default" marker to use where falling back to a conversational view does not make sense. I'll take this into Matrix instead of derailing this issue further. |
Suggestion
Currently you can query information about users, locations and protocols using the /thirdparty endpoints. This however only works for bridges/appservices running on your own homeserver, which makes the feature inaccessible to most users.
It would be nice if I could query if a user is from a bridged network and show an appropriate icon for that. I.e. show which users are irc users, so that I can take care to reply in the right format to them.
Additionally it would be nice to be able to query where a room is bridged to.
It seems a bit tricky however to define, what server to send the request to. A request about a user makes sense to send to the users homeserver, but what about a location query for an alias?Asking the server that controls the alias makes some sense, but will give you a partial view. And I have no idea at all how a query for supported protocols would look like.
The text was updated successfully, but these errors were encountered: