Skip to content

Commit

Permalink
chore(deps): update signal bridge version + config (#3084)
Browse files Browse the repository at this point in the history
* chore(deps): update signal bridge version + config

* style(deps): rename default note to self config variable

* Add to_json for additional safety

---------

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
  • Loading branch information
pm-McFly and spantaleev authored Jan 9, 2024
1 parent 7c5cbec commit 5caf1fe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/custom/matrix-bridge-mautrix-signal/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ matrix_mautrix_signal_container_image_self_build_repo: "https://mau.dev/mautrix/
matrix_mautrix_signal_container_image_self_build_branch: "{{ 'main' if matrix_mautrix_signal_version == 'latest' else matrix_mautrix_signal_version }}"

# renovate: datasource=docker depName=dock.mau.dev/mautrix/signal
matrix_mautrix_signal_version: a91fc7028c54482ec6c581784d553199dfff93ff
matrix_mautrix_signal_version: 959eb7eaf9eb648f97b8e85d7650ea87f2639cd1

# See: https://mau.dev/mautrix/signal/container_registry
matrix_mautrix_signal_docker_image: "{{ matrix_mautrix_signal_docker_image_name_prefix }}mautrix/signal:{{ matrix_mautrix_signal_docker_image_tag }}"
Expand Down Expand Up @@ -166,3 +166,5 @@ matrix_mautrix_signal_bridge_personal_filtering_spaces: true
# On conduit versions before 0.5.0 this option prevented users from joining spaces created by the bridge.
# Setting this to false fixed the issue.
matrix_mautrix_signal_bridge_restricted_rooms: true

matrix_mautrix_signal_bridge_note_to_self_avatar: "mxc://maunium.net/REBIVrqjZwmaWpssCZpBlmlL"
10 changes: 10 additions & 0 deletions roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ metrics:
# IP and port where the metrics listener should be. The path is always /metrics
listen: 127.0.0.1:8000

signal:
# Default device name that shows up in the Signal app.
device_name: mautrix-signal

# Bridge config
bridge:
# Localpart template of MXIDs for Signal users.
Expand All @@ -105,6 +109,10 @@ bridge:
private_chat_portal_meta: default
# Should avatars from the user's contact list be used? This is not safe on multi-user instances.
use_contact_avatars: false
# Should the Signal user's phone number be included in the room topic in private chat portal rooms?
number_in_topic: true
# Avatar image for the Note to Self room.
note_to_self_avatar: {{ matrix_mautrix_signal_bridge_note_to_self_avatar | to_json }}

portal_message_buffer: 128

Expand All @@ -114,6 +122,8 @@ bridge:
personal_filtering_spaces: {{ matrix_mautrix_signal_bridge_personal_filtering_spaces | to_json }}
# Should the bridge send a read receipt from the bridge bot when a message has been sent to Signal?
delivery_receipts: false
# Should Matrix m.notice-type messages be bridged?
bridge_notices: true
# Whether the bridge should send the message status as a custom com.beeper.message_send_status event.
message_status_events: false
# Whether the bridge should send error notices via m.notice events when a message fails to bridge.
Expand Down

0 comments on commit 5caf1fe

Please sign in to comment.