From 06431f490fa71c08a9c34ebf268b5355610b2831 Mon Sep 17 00:00:00 2001 From: Gredin 67 Date: Thu, 11 Feb 2021 22:09:37 +0100 Subject: [PATCH] setup sources --- conf/app.src | 6 +++--- conf/config.yaml | 12 ++++++------ manifest.json | 3 +-- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/conf/app.src b/conf/app.src index 9332825..53c3402 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,7 +1,7 @@ -SOURCE_URL=https://github.com/tulir/mautrix-facebook/tarball/7b2246099d3d6ac52061f82315460415eb22219b -SOURCE_SUM=fd9d4f2b2feec390fb35b56f3a5e4a26234f9ed5029eb3950bea4b7dc55bef49 +SOURCE_URL=https://github.com/tulir/mautrix-signal/archive/v0.1.0.tar.gz +SOURCE_SUM=950249a464c636ad6134f43da7a19d5fe14175782ec02754479ded1330897ff7 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME=mautrix-facebook.tar.gz +SOURCE_FILENAME=mautrix-signal.tar.gz SOURCE_EXTRACT=false diff --git a/conf/config.yaml b/conf/config.yaml index 40b0772..60c3832 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -46,7 +46,7 @@ appservice: # Must be created manually. # # Example: "+signal:example.com". Set to false to disable. - community_id: false + community_id: +sg:__SERVER_NAME__ # Whether or not to receive ephemeral events via appservice transactions. # Requires MSC2409 support (i.e. Synapse 1.22+). @@ -80,12 +80,12 @@ signal: bridge: # Localpart template of MXIDs for Signal users. # {userid} is replaced with an identifier for the Signal user. - username_template: "signal_{userid}" + username_template: "sg_{userid}" # Displayname template for Signal users. # {displayname} is replaced with the displayname of the Signal user, which is the first # available variable in displayname_preference. The variables in displayname_preference # can also be used here directly. - displayname_template: "{displayname} (Signal)" + displayname_template: "{displayname} (SG)" # Whether or not contact list displaynames should be used. # Possible values: disallow, allow, prefer # @@ -112,7 +112,7 @@ bridge: double_puppet_allow_discovery: false # Servers to allow double puppeting from, even if double_puppet_allow_discovery is false. double_puppet_server_map: - example.com: https://__SERVER_NAME__ + example.com: https://example.com # Shared secret for https://github.com/devture/matrix-synapse-shared-secret-auth # # If set, custom puppets will be enabled automatically for local users @@ -164,7 +164,7 @@ bridge: # Used by things like mautrix-manager (https://github.com/tulir/mautrix-manager). provisioning: # Whether or not the provisioning API should be enabled. - enabled: true + enabled: false # The prefix to use in the provisioning API endpoints. prefix: /_matrix/provision/v1 # The shared secret to authorize users of the API. @@ -172,7 +172,7 @@ bridge: shared_secret: generate # The prefix for commands. Only required in non-management rooms. - command_prefix: "!signal" + command_prefix: "!sg" # Permissions for using the bridge. # Permitted values: diff --git a/manifest.json b/manifest.json index 75e6e77..e5aa764 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A Signal puppeting bridge for Matrix/Synapse.", "fr": "Passerelle Signal pour Matrix/Synapse." }, - "version": "0.2.0~ynh1", + "version": "0.1.0~ynh1", "url": "https://github.com/tulir/mautrix-signal", "license": "AGPL-3.0-or-later", "maintainer": { @@ -63,7 +63,6 @@ "fr": "N'activer que si vous connaissez les prérequis et constraintes liées à e2b." }, "default": false - }, { "name": "botadmin",