Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Ability to manage autojoin rooms

    Matrix (Synapse/Element)
    2
    5
    165
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • subven
      subven last edited by

      I want my users to autojoin some rooms. Sadly the option is hardcored through the startscript.

      Is there any chance to make this work? Maybe with a second yaml configuration file?

      M 1 Reply Last reply Reply Quote 0
      • subven
        subven @msbt last edited by subven

        @msbt hmm you are right and I was wrong! 😓 I'll test if it works and report back 🙂

        EDIT: Okay it works but only for new accounts (at first login with LDAP or local accounts).
        The part in my homeserver.yaml looks like this:

        auto_join_rooms:
        - '#discuss:yourdomain.com'
        - '#feedback:yourdomain.com'
        - '#help:yourdomain.com'
        - '#info:yourdomain.com'
        
        1 Reply Last reply Reply Quote 2
        • M
          msbt App Dev @subven last edited by msbt

          @subven this is only for the default #discuss channel, you can edit the homeserver.yaml to include your own channels in there

          subven 1 Reply Last reply Reply Quote 1
          • subven
            subven @msbt last edited by

            @msbt guess what happens if you restart the container afterwards 😞 The startscript overwrites the changes and you're left with #discuss only again.

            M 1 Reply Last reply Reply Quote 0
            • M
              msbt App Dev @subven last edited by

              @subven that's not supposed to happen, that portion of the start.sh script should only run when there's no homeserver.yaml (if [[ ! -f /app/data/configs/homeserver.yaml ]]; then)

              subven 1 Reply Last reply Reply Quote 1
              • subven
                subven @msbt last edited by subven

                @msbt hmm you are right and I was wrong! 😓 I'll test if it works and report back 🙂

                EDIT: Okay it works but only for new accounts (at first login with LDAP or local accounts).
                The part in my homeserver.yaml looks like this:

                auto_join_rooms:
                - '#discuss:yourdomain.com'
                - '#feedback:yourdomain.com'
                - '#help:yourdomain.com'
                - '#info:yourdomain.com'
                
                1 Reply Last reply Reply Quote 2
                • First post
                  Last post
                Powered by NodeBB