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.2.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.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for synapse_registration_notifier-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fd14f5ca90ae2d4986e1af201de87097888f71639d1cfcbfcf53e99086cb3817
MD5 e600b867cd8a2e6c91da737a6520f44a
BLAKE2b-256 233aa5bef3ba576e793257c7101a7581f4f65235768f511ff3e694305f143139

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for synapse_registration_notifier-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd053b9103b186fb04be6cf1a1bb4cd393553012b70747dc8f593698559e0a89
MD5 1a74544bdecc2de0ebf83d4c9fea38e7
BLAKE2b-256 57e5a3372b05f95f44db9c9cdd6455fe72712593edba465629d42f2fb17e380f

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