Replies: 2 comments 2 replies
-
Let me be blunt: The likelihood of this happening is extremely low. ...Wait, no. Turns out, that was the diplomatic version. The blunt version is: There isn't a chance in hell of this happening. There are various reasons, some related to the GSConnect project, others related to Matrix specifically. (Some of which I was unaware of, myself, until I did the requisite half-hour's worth of due diligence on the technical feasibility of this request.) I'll detail those, at least briefly, for the record in case this proposal ever resurfaces. But first, I'm going to move this to Discussions, as it isn't an actionable Issue at present. (Or, like I said, likely ever.) |
Beta Was this translation helpful? Give feedback.
-
So, here are the barriers to making this any sort of reality: GSConnect projectThe GSConnect project is in community-supported mode. There are no "project developers" per se, and while we (the maintainers) are doing just that — maintaining the extension — any significant development effort needs, first and foremost, someone committed to doing the work. But in this case, that wouldn't really help (or at least, they'd fail)... because: Matrix {system, APIs, protocol, servers}A matrix server — actually, a Matrix homeserver — is an incredibly complex beastie. It's not the sort of thing you "fake". While the Matrix project makes a very big deal of how easy they make bridging Matrix to other services, they mean exactly that: Building Application Service gateways between other services/protocols and a full Matrix Homeserver implementation. But any such bridges still require a homeserver to bridge to, which of course GSConnect could not provide. To even build a GSConnect bridge to the Matrix network would require implementing large portions of their APIs, including authentication and encryption, so that a user's text messages could be exchanged securely on the federated Matrix network. And it would require that the user be okay with us putting their private text conversations onto the Matrix network, which... hell, I wouldn't be! That just sounds foolhardy on the face of it. Matrix clientsAll of this hinges on a rather... surprising design decision made by the Matrix project: Matrix clients are SINGLE-SERVER by designWhen they say "homeserver", they mean just that — emphasis on home server. The design of the Matrix system requires that a client have a single server "home" to which it signs in and accesses the entire network. From their FAQ:
Oh, sure, you can access services at as many remote Matrix servers as you like, but you do all of that through your homeserver, over the network using (behind the scenes) Matrix's server-to-server APIs. Which means that a Matrix-bridged GSConnect would require a server not only compatible with their Application Service (bridging) API, but also their server-to-server protocols. It wouldn't actually have to support client-server, unless it was going to act as a homeserver as well, but that's small consolation. Additionally, Matrix clients support a number of features above-and-beyond the ones available to KDE-Connect-relayed device SMS, many we don't support, and several we couldn't support even if we wanted to — but at least in some cases there'd be no way, AFAICT, to communicate to the client that we can't accept messages using those features and it therefore shouldn't use them. At issue are things like:
There are also desirable features the clients don't support, like:
The notion of using established client implementations for GSConnect messaging is an intriguing one, but comes with its share of hurdles to overcome. And Matrix, specifically, appears to be an especially poor choice for any such functionality, due to its single-homeserver design. |
Beta Was this translation helpful? Give feedback.
-
Describe your request
Currently, GSConnect use it's own message tool.
Proposed solution
Please fake a Matrix server, so you could use messages with the currently installed Matrix client like FluffyChat.
Alternatives
No response
GSConnect version
55
Installed from
GNOME Extensions website
GNOME Shell version
44
Linux distribution/release
Ubuntu 23.04
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions