diff --git a/CHANGELOG.md b/CHANGELOG.md index 02e1c81..3fd8742 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# unreleased + +* Added support for Google Voice bridge. +* Fixed running Meta bridge without specifying platform. + # v0.12.1 (2024-08-17) * Bumped minimum Go version to 1.22. diff --git a/bridgeconfig/gvoice.tpl.yaml b/bridgeconfig/gvoice.tpl.yaml index 861f4a5..778cae4 100644 --- a/bridgeconfig/gvoice.tpl.yaml +++ b/bridgeconfig/gvoice.tpl.yaml @@ -1,9 +1,11 @@ # Network-specific config options network: # Displayname template for SMS users. Available variables: - # .Name (same as phone number in most cases) + # .Name - same as phone number in most cases + # .Contact.Name - name from contact list + # .Contact.FirstName - first name from contact list # .PhoneNumber - displayname_template: {{ `"{{.Name}}"` }} + displayname_template: {{ `"{{ or .Contact.Name .Name }}"` }} {{ setfield . "CommandPrefix" "!gv" -}} {{ setfield . "DatabaseFileName" "mautrix-gvoice" -}}