Files
ThreadNet-Web/modules/restricted-guests/synapse/synapse_guest_module/config.py
T
Andrew Ferrazzutti 226b89f846 synapse guest module: change license
Set license to multi-license of AGPL + Element Commercial, and add
associated license files to the repository root.

This does not add a notice of "This file includes modifications" to any
files because they were only moved and relicensed, but otherwise
unmodified.

The exception is run_in_venv.sh, which is a rewrite of upstream's
run_in_venv.js and thus lacks the original copyright entirely.
2025-02-10 15:39:48 -05:00

19 lines
533 B
Python

# Copyright 2023 Nordeck IT + Consulting GmbH
# Copyright (C) 2025 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
# Please see LICENSE files in the repository root for full details.
#
# Originally licensed under the Apache License, Version 2.0:
# <http://www.apache.org/licenses/LICENSE-2.0>.
import attr
@attr.s(frozen=True, auto_attribs=True)
class GuestModuleConfig:
user_id_prefix: str
display_name_suffix: str
enable_user_reaper: bool
user_expiration_seconds: int