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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Ability to manage autojoin rooms

Scheduled Pinned Locked Moved Solved Matrix (Synapse/Element)
5 Posts 2 Posters 351 Views
    • 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
  • subvenS Offline
    subvenS Offline
    subven
    replied to msbt on last edited by subven
    #0

    @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
  • M Offline
    M Offline
    msbt App Dev
    replied to subven 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
  • subvenS Offline
    subvenS Offline
    subven
    replied to msbt 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
  • M Offline
    M Offline
    msbt App Dev
    replied to subven 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
  • subvenS Offline
    subvenS Offline
    subven
    replied to msbt 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.