element-hq / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://element-hq.github.io/dendrite/
GNU Affero General Public License v3.0
14 stars 3 forks source link

Guest not joining room with guest access #3163

Open matrixbot opened 2 weeks ago

matrixbot commented 2 weeks ago

This issue was originally created by @Gredin67 at https://github.com/matrix-org/dendrite/issues/3163.

Background information

Description

I can register as guest from Element, but cannot join room #guest-room:homeserver.tld that is public and has guest access activated. Here is an extract of my dendrite.yaml:

  registration_disabled:     False
  guests_disabled:   False
  registration_shared_secret:  xxxxxxxxxxxxx
  enable_registration_captcha: true
  # Settings for ReCAPTCHA.
  recaptcha_public_key: "xxxxxxxxx"
  recaptcha_private_key: "xxxxxxxxxx"
  #recaptcha_bypass_secret: ""
  #recaptcha_siteverify_api: ""

  # To use hcaptcha.com instead of ReCAPTCHA, set the following parameters, otherwise just keep them empty.
  recaptcha_siteverify_api: "https://hcaptcha.com/siteverify"
  recaptcha_api_js_url: "https://js.hcaptcha.com/1/api.js"
  recaptcha_form_field: "h-captcha-response"
  recaptcha_sitekey_class: "h-captcha"
  auto_join_rooms:
    - "#guest-room:homeserver.tld"

in synapse, to be able to access a room as guest, this room should be listed in auto_join_room and followinf setting should be set auto_join_rooms_for_guests: true.

Could this be related ?

matrixbot commented 2 weeks ago

This comment was originally posted by @syui at https://github.com/matrix-org/dendrite/issues/3163#issuecomment-2408585371.

Is it possible for dendrite to preview public rooms as a guest? I've tried various settings but it doesn't work.

https://git.hack-hro.de/grouprise/grouprise/-/issues/731 https://github.com/element-hq/element-web/issues/24513