Docs

Federation settings

The name, rules, filters, report reasons, contacts, phone numbers and limits the owner changes in the app, and ownership of the federation.

Most federation settings change not in files but in the app itself: Settings › Manage Federation. The section is visible to people with "Open the federation panel"; changing settings takes "Manage the federation" (the owner and administrators have it). Settings live in the database and are part of the backup.

The section has five pages: "Reports", "People", "Roles", "Audit log" and "Rules and policies". Roles, reports and moderator actions are described in Moderation; this page covers "Rules and policies".

Federation

SettingWhat it changes
NameWhat the federation is called in the apps, in the federation document and on the public pages. Up to 64 characters.
Support contactEmail, link or @username. Shown on the public pages and in the federation's details.

Rules

"Rules in Russian" and "Rules in English" are the text people accept on their first sign-in. When the rules change they get a new version, and everyone accepts them again. The rules are visible in the app and on the /rules page.

Filter

"Words and phrases" and "Domains", one per line, up to 500 of each. Messages containing them are not sent. More in Moderation.

Policies

SettingDefaultMeaning
Report reasonsbuilt-in listThe tree of reasons a person picks in a report. Up to 50 reasons and three levels.
Guests in callsallowedWhether people without an account may join link calls.
New direct chats per day50How many direct chats a day a person may start with people who do not have them as a contact. Empty means no limit. A role may give more.
Speech recognitionoffThe speech recognizer (voice transcription).
Speech recognition, minutes per day60For everyone; a role may allow more.

Contacts and phone numbers

SettingOptions
Contacts"All members" (default): everyone sees every member in the Contacts tab. "Address book": everyone has their own contacts and finds others by name or @username. "Hidden": others are found only by exact @username, link or card, and phone numbers find no one.
Phone numbers"Off", "Optional", "Required" (phone numbers).
People added to groups per dayHow many people who do not have the adder as a contact may be added to groups and channels a day. Empty means 50. A role may allow more.

Until a contacts mode is chosen in the app, the server takes it from --contacts-mode.

How it looks to people: people and contacts.

Federation roles

Built-in roles: owner, administrator, moderator, support, and the role everyone has (@everyone), which sets default rights and limits. You can create your own roles, up to 50 including the built-in ones. Rights and limits of roles in detail: Moderation.

Owner

The first person to finish sign-up in a new federation becomes the owner. If there is no owner, the server makes the profile with the earliest completed sign-in the owner at start.

The owner can do everything, and only the owner can transfer ownership: Manage Federation › People, the person's card, "Transfer ownership". The previous owner keeps the administrator role. The owner cannot delete their account before transferring ownership.

If the owner has lost access, ownership is transferred with an offline command while the server is stopped (operations):

dc stop federation
dc run --rm --no-deps --entrypoint /app/bin/federation_admin federation \
  --data=/data --postgres-conninfo-file=/run/secrets/postgres-conninfo \
  --federation-id=<federation ID> list
dc run --rm --no-deps --entrypoint /app/bin/federation_admin federation \
  --data=/data --postgres-conninfo-file=/run/secrets/postgres-conninfo \
  --federation-id=<federation ID> grant-owner --profile=<profile id>
dc start federation

The federation ID is COMON_FEDERATION_ID in stack.env. list shows the roles and profile IDs; set-roles --profile=<id> --roles=admin,moderator replaces a profile's roles (built-in: admin, moderator, support). Unlike the app, the offline command can raise anyone to any role.

Public pages

Without sign-in the server answers on three addresses:

AddressWhat is there
/rulesThe federation's rules
/child-safetyChild safety standards and the contact
/delete-accountHow to delete an account and what is kept

The language comes from ?lang=ru or ?lang=en, otherwise from the browser's header. The pages use the name and support contact from the settings, so fill in both before publishing your own app build in the stores: the stores require such pages.

The moderators' audit log and the material of closed reports are kept for a year and deleted when the server starts.

On this page