diff --git a/mautrix-signal/Chart.yaml b/mautrix-signal/Chart.yaml index 10ce145..790873f 100644 --- a/mautrix-signal/Chart.yaml +++ b/mautrix-signal/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: mautrix-signal description: A Matrix-Signal puppeting bridge. type: application -version: 0.0.10 +version: 0.0.11 # renovate: image=dock.mau.dev/mautrix/signal appVersion: "0.7.0" maintainers: diff --git a/mautrix-signal/README.adoc b/mautrix-signal/README.adoc index 620c447..8ecff95 100644 --- a/mautrix-signal/README.adoc +++ b/mautrix-signal/README.adoc @@ -2,7 +2,7 @@ = mautrix-signal -image::https://img.shields.io/badge/Version-0.0.10-informational?style=flat-square[Version: 0.0.10] +image::https://img.shields.io/badge/Version-0.0.11-informational?style=flat-square[Version: 0.0.11] image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application] image::https://img.shields.io/badge/AppVersion-0.7.0-informational?style=flat-square[AppVersion: 0.7.0] == Maintainers @@ -647,7 +647,7 @@ helm uninstall mautrix-signal-release | config.signal.displayname_template | string -| `"{{or .ProfileName .PhoneNumber \"Unknown user\"}}"` +| `"{{ printf \"%s (%s) %s\" (or .ProfileName .ContactName \"Unknown user\") (or .PhoneNumber \"Unknown number\" (or .AboutEmoji \"\")}}"` | Displayname template for Signal users. This is also used as the room name in DMs if private_chat_portal_meta is enabled. {{.ProfileName}} - The Signal profile name set by the user. {{.ContactName}} - The name for the user from your phone's contact list. This is not safe on multi-user instances. {{.PhoneNumber}} - The phone number of the user. {{.UUID}} - The UUID of the Signal user. {{.AboutEmoji}} - The emoji set by the user in their profile. | config.signal.location_format diff --git a/mautrix-signal/values.yaml b/mautrix-signal/values.yaml index 175c41b..c54fb47 100644 --- a/mautrix-signal/values.yaml +++ b/mautrix-signal/values.yaml @@ -414,7 +414,7 @@ config: # {{.PhoneNumber}} - The phone number of the user. # {{.UUID}} - The UUID of the Signal user. # {{.AboutEmoji}} - The emoji set by the user in their profile. - displayname_template: '{{or .ProfileName .PhoneNumber "Unknown user"}}' + displayname_template: '{{ printf "%s (%s) %s" (or .ProfileName .ContactName "Unknown user") (or .PhoneNumber "Unknown number" (or .AboutEmoji "")}}' # -- Should avatars from the user's contact list be used? This is not safe on multi-user instances. use_contact_avatars: false # -- Should the bridge request the user's contact list from the phone on startup?