Files
ThreadNet-Web/modules/restricted-guests/synapse/synapse_guest_module/config.py
T
Andrew Ferrazzutti 523758cbea synapse guest module: move license files
Move them into the module folder so that they'll be properly included
in distribution builds, such as when installing this module via pip.

Also reword copyright headers to refer to the project root instead of
the repository root, which isn't included in distribution builds.
2025-02-12 15:42:18 -05:00

19 lines
526 B
Python

# Copyright 2023 Nordeck IT + Consulting GmbH
# Copyright 2025 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
# Please see LICENSE files in the project 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