Black Branch/Docs
All sections

Community rooms

This page is for a streamer setting up the place where the community talks when you are offline. After reading it you can find the rooms, add and arrange channels from the Admin Panel, know what your server keeps in order for you, and know how encryption, message retention and federation affect them.

Besides the live chat, your site has community rooms: a space that works much like a Discord server, with a list of channels on the left, a conversation in the middle, and threads, reactions and direct messages. Live chat moves with the stream; the community rooms are where people keep talking when you are offline, which is when most of your community will use them.

They run on Matrix, an open standard for chat (see matrix.org for the long version). Every install comes with its own Matrix chat server, called a homeserver, at matrix.example.com. Your viewers do not need to know any of this. They sign in to your site and the rooms are there.

Matrix was chosen over a closed chat service for three reasons that matter to you: the messages live on your own server, direct messages can be properly end-to-end encrypted, and viewers can also use any Matrix app on their phone. See also Matrix.

Where to find it

Anyone can open the tab. Joining and writing need an account on your site. A signed-out visitor sees Sign in to join the community.

The first time a viewer opens it, the site connects to the chat server and shows Joining the community while it does. It joins them to your space and to every channel everyone may see, on its own; nobody has to accept an invitation to #general. A channel only some people may see (supporters, say) works differently: see Who can see a channel.

πŸ–Ό Image: the community view with the spaces rail, the channel list, a conversation and the member list

What a new install has

During setup, the Community page creates one space, named after your site, with two channels in it: #general for talk and #forum, a forum room (see Home and forums). All three are created as your own admin account, so they belong to you: on this kind of room, the account that creates it keeps full power over it for good. The same setup page lists more first channels (#announcements and #off-topic to start with, names you can edit); your server makes those on its first community run, within about 10 minutes of finishing setup.

Down the far left is the spaces rail:

Managing channels

You run the community from Admin Panel β†’ Site β†’ Community. You do not need a Matrix app for any of it.

πŸ–Ό Image: Admin Panel β†’ Site β†’ Community, with the cards Channels and categories, Last applied and Roles

Channels and categories lists every channel under its category. Under each name, one line says who can see it and who can post, and one says how long it keeps messages.

An Announcement channel starts with Who can post set to Mods and above; you can change it.

Every change is saved first, then your server applies it (see What your server keeps for you). The page says Applying… until the server's run is done.

Who can see a channel

Who can see Who is in it
Everyone in the community anyone in your space can open it and join
Supporters and above supporters, bots, mods, Staff and admins
Mods and above bots, mods, Staff and admins
Staff and above Staff and admins
Invited people only only the people someone invited

Who can post is Everyone who can see, Supporters and above, Mods and above or Staff and above.

A channel not everyone can see is not listed to the others. When someone gains the right to see it (they start supporting, or become a mod), your community's own account invites them, and they enter by accepting the invite. When they lose the right, they are removed from the channel with a short reason, such as "supporter access ended".

Roles

The Roles card lists the ladder, top down. Each role can do everything the ones below it can.

Role Can
Admin everything
Staff moderate and edit channels; not roles, who can see, how long messages are kept, or encryption
Mod remove, ban and time out people, delete messages, pin, and mention everyone
Bot the same as Mod, listed with the bots
Supporter post where a channel says Supporters and above
Member post, react, upload, reply and start threads
Timed out read only, until the timeout ends

Edit changes a role's name and colour, and whether it is its own group in the member list. Who holds a role comes from the site: admins, moderators and Staff from Admin Panel β†’ Site β†’ Moderators (see Roles and permissions), supporters from their subscription or a gift.

Talking in a channel

Pick a channel and type in the box at the bottom. You can attach a file with the paperclip button (Attach a file). Hover a message to get its actions:

An edited message carries an (edited) tag. Click it to see the original text. Edits are kept honest this way: anyone can check what a message first said.

People can delete their own messages. Mods can delete anyone's and can pin messages. The pin button at the top of a channel opens its Pinned messages.

The other buttons at the top of a channel:

Button What it does
Notification settings All messages, Mentions only or Nothing for this channel
Threads lists every thread in the channel
Show members who is in the room, with admins and moderators marked

What your server keeps for you

Every 10 minutes, and right after a change in the panel or a moderator's action on the site, your server brings the rooms in line with the Admin Panel. It acts as your community's own account (named @blackbranch on a new install), never as you.

These always apply:

A change made to a channel somewhere else, in Element say (its name, topic or picture, who can see or post, how long it keeps messages, or its place), follows one switch: Keep changes made in Element, in Admin Panel β†’ Site β†’ Site, card Channels.

Off (the default) On
A change made in Element put back the way the panel has it, and listed as put back kept, and listed as a difference
A change you make in the panel to a channel that already exists applied not applied: listed as a difference too
New channels, roles, who is in which channel, bans and timeouts applied applied

Turn it on only if you also run the community from Element and want those edits to stay. While it is on, an edit made in Element is not taken into the panel either (see Known gaps).

Two things the server never does: it never changes a room's encryption after the room is made, and it never lowers someone who holds as much power as the community's own account; such a grant is kept as found and noted.

Last applied

The Last applied card shows what the server's last run did, one line per change ("Put back: …" for something it undid), and what it left as it is. Check now asks the server what it would change, without changing anything; Apply now runs it at once. On the server, the same check is sudo blackbranch community reconcile --mode report.

The community's account joins only the community's own rooms: a room you or an admin of your space linked into it, or into a category or space you linked there, at any depth, and invited the account to. A room linked into your space that the account is not in is listed under Last applied; an invite to any other room is left as it is.

The Doctor

Three rows of the Doctor watch this.

Row Green Amber Red
The community's rooms are as the Community page sets them the last run had nothing to put back the last run put something back, left a difference as it is, or could not look after a room (the community's account is not in the main space or cannot read a room, or a room looks bridged by an account you have not listed); the row says which the last run failed
The community's rooms were checked in the last 30 minutes a run finished in the last 30 minutes, or one is running no run for longer, or one never finished
The community service account answers its token answers as the account its registration is missing or wrong, someone already uses its name, or the server refuses its token

Grey means switched off, or not checked yet. A run fails when the chat server refuses one of its changes. Only that channel's remaining changes wait; the other channels are still kept, and the Last applied card names the channel. When runs start failing, your server sends you one alert (to the same place as a failed backup's), and one more when a run works again.

Bridge accounts

The Discord bridge that comes with the install needs nothing here: your server knows its bot and its Discord people by itself. If another chat bridge serves some of your rooms, list its bot's account in Admin Panel β†’ Site β†’ Community, card Bridge accounts. A listed account keeps its power and is never removed. A room that only says it is bridged, by an account you have not listed, gets no such exception: the Doctor turns amber and Last applied names the room and the account, so you can add it if it is right.

Moderation in the rooms

Moderators in the rooms are the people who are Mod, Staff or Admin on the site (see Site mods and community-room moderators). A moderator can kick or ban from a member's card; when a site mod bans there, the ban also applies on the site and on the platforms. A ban or timeout made on the site reaches every room through your server, as above. The site's word filter, link gate and Report button cover live chat; in the rooms, moderators act from a member's card. What a site ban does and does not reach is on Bans, timeouts and deletions.

How it looks

Each viewer can change the community's look in their avatar menu β†’ Chat appearance β†’ Community:

Setting Choices
Layout Cozy (default), Compact, Bubbles
Avatars, Times on (default) or off
Reaction size Small, Normal (default), Large
"(edited)" tag on (default) or off
Deleted messages Hide (default), or Show a note
Unread channels Dots (default), Number on mentions, or Counts
Hide muted channels off by default
Send read receipts on by default
Send typing on by default

Text, names, badges, colours and the shadow follow the viewer's chat settings, so the two chats look alike.

A read receipt tells others that you have seen a message, and the typing notice shows "… is typing". With Send read receipts or Send typing off, other people do not see either from this viewer. Their own unread counts still clear.

Encryption

End-to-end encryption means a message is locked on the sender's device and unlocked only on the readers' devices. The server in between, which is yours, stores it but cannot read it. (Wikipedia has a fuller explanation.)

A πŸ”’ beside a room's name in its header means its messages are encrypted; an unencrypted room shows nothing. Only a direct message that is not encrypted shows a Not encrypted line, with an Enable E2EE button.

To read encrypted messages on a new phone or computer, a viewer needs their recovery key. They make it once, from the avatar menu or the sign-up steps on Home; the steps are on Encryption and your recovery key. What encryption means for you as the owner: Encryption.

How long messages are kept

Your server deletes old messages on its own. This is called a retention policy, and it keeps the server from filling up with years of chat nobody will read.

How long is set in two places:

Room Kept for, on a new install
#general, and each new text channel 30 days
#forum, each new announcement or forum channel, and every direct message as long as the server allows: 365 days

If a viewer says old messages "disappeared", check their age first: messages past these limits are no longer served by your server, and its next clean-up removes them from its database. That is not deletion everywhere: files attached to them stay on the server, room settings stay, people's apps may keep copies they already downloaded, and with federation on other servers keep their own. See What message retention removes. Synapse, the homeserver software, explains how this works in its message retention docs.

Other Matrix apps

The rooms are ordinary Matrix rooms, so a viewer can also use a Matrix app on their phone, such as Element, with their Matrix ID (it looks like @casey:example.com). Apps that can sign in to your server are listed on Matrix β†’ Other Matrix apps. Threads, reactions and edits show in those apps too; the site's own extras, such as forum layouts and name colours, may not.

Federation is off by default

Federation is how Matrix servers talk to each other. With it on, people with accounts on other Matrix servers (such as matrix.org) can join your public rooms and message your members. Federation is off on a new install: only accounts made on your site can join, which keeps spam and moderation simple. How to switch it on, and what to check first: The homeserver β†’ Federation.

Discord

The Discord bridge links a Discord channel with one of these rooms, so messages flow both ways, and the import can make your channels from your Discord server's. Both are on Admin Panel β†’ Site β†’ Discord; see Discord. A linked room's Who can see and Who can post cannot be narrowed here until it is unlinked.

Next: Direct messages

← Your site, feature by feature