helloSystem / hello

Desktop system for creators with a focus on simplicity, elegance, and usability. Based on FreeBSD. Less, but better!
2.3k stars 57 forks source link

Consider adding preconfigured Matrix client #66

Open probonopd opened 3 years ago

probonopd commented 3 years ago

matrix.org requires users to sign up for an account, something we don't really want. We want guests to be allowed, just like on IRC.

https://github.com/matrix-org/matrix-python-sdk is straightforward, BUT showstopper: Guest access not allowed for IRC bridged channels?

>>> from matrix_client.client import MatrixClient
>>> client = MatrixClient("http://matrix.org")
>>> token = client.register_as_guest( )
>>> token = client.register_as_guest()
>>> print(token)
...-...
>>> room = client.join_room("#freenode_#hellosystem:matrix.org")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tmp/matrix-python-sdk/matrix_client/client.py", line 337, in join_room
    response = self.api.join_room(room_id_or_alias)
  File "/tmp/matrix-python-sdk/matrix_client/api.py", line 234, in join_room
    return self._send("POST", path)
  File "/tmp/matrix-python-sdk/matrix_client/api.py", line 749, in _send
    code=response.status_code, content=response.text
matrix_client.errors.MatrixRequestError: 403: {"errcode":"M_FORBIDDEN","error":"Guest access not allowed"}
probonopd commented 3 years ago

Allowing guests for the channel. Reminder how it was done:

probonopd commented 3 years ago

Now that our Matrix channel allows guests: Which Qt based Matrix client allows using Matrix as a guest?

Adding just a web browser link is blocked by https://github.com/vector-im/element-web/issues/9264

Quaternion doesn't seem to have the option https://github.com/quotient-im/Quaternion/issues/719

probonopd commented 3 years ago

Just be aware that the privacy implications of this solution are not optimal, but the channel should be regarded a "public space" without any privacy whatsoever anyway.

https://www.privacy-handbuch.de/handbuch_74g.htm