Skip to content

Commit

Permalink
Fix meta/signal displayname template quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jan 17, 2024
1 parent 8907644 commit 4e05a80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridgeconfig/meta.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ bridge:
# Localpart template of MXIDs for FB/IG users.
username_template: {{ .BridgeName }}_{{ "{{.}}" }}
# Displayname template for FB/IG users. This is also used as the room name in DMs if private_chat_portal_meta is enabled.
displayname_template: {{ `"{{or .ContactName .ProfileName .PhoneNumber "Unknown user" }}"` }}
displayname_template: {{ `'{{or .ContactName .ProfileName .PhoneNumber "Unknown user" }}'` }}
# Whether to explicitly set the avatar and room name for private chat portal rooms.
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
# If set to `always`, all DM rooms will have explicit names and avatars set.
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/signal.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ bridge:
# Localpart template of MXIDs for Signal users.
username_template: {{ .BridgeName }}_{{ "{{.}}" }}
# Displayname template for Signal users. This is also used as the room name in DMs if private_chat_portal_meta is enabled.
displayname_template: {{ `"{{or .ContactName .ProfileName .PhoneNumber "Unknown user" }}"` }}
displayname_template: {{ `'{{or .ContactName .ProfileName .PhoneNumber "Unknown user" }}'` }}
# Whether to explicitly set the avatar and room name for private chat portal rooms.
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
# If set to `always`, all DM rooms will have explicit names and avatars set.
Expand Down

0 comments on commit 4e05a80

Please sign in to comment.