Skip to main content

A Synapse module that notifies a room when users register on the server.

Project description

Synapse Registration Notifier

A simple Synapse module that sends a notification to a specified room whenever a new user registers on the server, containing some basic information and also configurable alerting capabilities.

Installing

Install the module:

pip install git+https://codeberg.org/timedout/synapse-registration-notifier.git

And then configure it:

modules:
  - module: synapse_registration_notifier.RegistrationNotifier
    config:
      # (required) The room to send the notification to, in the form of !roomid:server.name
      notification_room: "!yourroomid:yourserver.example"
      # (required) The user to send the notification as. Must be joined to the notification_room.
      admin_user_id: "@modbot:yourserver.example"
      # Whether to include a mention of @room in the notification
      mention_room: false
      # Whether to include individual user mentions in the notification, in the form of @user:server.name
      mention_user_ids:
        - "@user1:yourserver.example"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synapse_registration_notifier-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synapse_registration_notifier-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file synapse_registration_notifier-0.1.0.tar.gz.

File metadata

File hashes

Hashes for synapse_registration_notifier-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6b304a862f365f61930f91884c8da0f52efdaa33e2a792fad616e56797ae05d7
MD5 677ae4a686d7b715a46dc37d7272c57f
BLAKE2b-256 4de0a69ebb0a4fbe5c8a5adcfd13f87c06afbcc856a44a5c61590b3269f58c46

See more details on using hashes here.

File details

Details for the file synapse_registration_notifier-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for synapse_registration_notifier-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0da514b85e8bb81902c0588b6930c6d6a4f4337b64043c7aba8e96b2c0ea8ad8
MD5 681e61bff932490c8d321952e576d23b
BLAKE2b-256 d5eb4f0d8086906bbd344a0fc0e58619e9fd43e85864ff973a3b5fb112047668

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page