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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Matrix (Synapse/Element)
  3. Ability to manage autojoin rooms

Ability to manage autojoin rooms

Scheduled Pinned Locked Moved Solved Matrix (Synapse/Element)
5 Posts 2 Posters 973 Views 3 Watching
  • 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.
  • subvenS Offline
    subvenS Offline
    subven
    wrote on last edited by
    #1

    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
    0
    • M msbt

      @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)

      subvenS Offline
      subvenS Offline
      subven
      wrote on last edited by subven
      #5

      @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
      2
      • subvenS subven

        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 Offline
        M Offline
        msbt
        App Dev
        wrote on last edited by msbt
        #2

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

        subvenS 1 Reply Last reply
        1
        • M msbt

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

          subvenS Offline
          subvenS Offline
          subven
          wrote on last edited by
          #3

          @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
          0
          • subvenS subven

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

            M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by
            #4

            @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)

            subvenS 1 Reply Last reply
            1
            • M msbt

              @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)

              subvenS Offline
              subvenS Offline
              subven
              wrote on last edited by subven
              #5

              @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
              2
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Bookmarks
              • Search