fix(mautrix-signal): improve display_name template
This commit is contained in:
parent
4e67ed133e
commit
ed89909ed7
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: mautrix-signal
|
name: mautrix-signal
|
||||||
description: A Matrix-Signal puppeting bridge.
|
description: A Matrix-Signal puppeting bridge.
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.10
|
version: 0.0.11
|
||||||
# renovate: image=dock.mau.dev/mautrix/signal
|
# renovate: image=dock.mau.dev/mautrix/signal
|
||||||
appVersion: "0.7.0"
|
appVersion: "0.7.0"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
= mautrix-signal
|
= 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/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]
|
image::https://img.shields.io/badge/AppVersion-0.7.0-informational?style=flat-square[AppVersion: 0.7.0]
|
||||||
== Maintainers
|
== Maintainers
|
||||||
|
@ -647,7 +647,7 @@ helm uninstall mautrix-signal-release
|
||||||
|
|
||||||
| config.signal.displayname_template
|
| config.signal.displayname_template
|
||||||
| string
|
| 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.
|
| 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
|
| config.signal.location_format
|
||||||
|
|
|
@ -414,7 +414,7 @@ config:
|
||||||
# {{.PhoneNumber}} - The phone number of the user.
|
# {{.PhoneNumber}} - The phone number of the user.
|
||||||
# {{.UUID}} - The UUID of the Signal user.
|
# {{.UUID}} - The UUID of the Signal user.
|
||||||
# {{.AboutEmoji}} - The emoji set by the user in their profile.
|
# {{.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.
|
# -- Should avatars from the user's contact list be used? This is not safe on multi-user instances.
|
||||||
use_contact_avatars: false
|
use_contact_avatars: false
|
||||||
# -- Should the bridge request the user's contact list from the phone on startup?
|
# -- Should the bridge request the user's contact list from the phone on startup?
|
||||||
|
|
Loading…
Add table
Reference in a new issue