Closed 3hhh closed 8 months ago
Why are you wrapping the templates in {{}}
🤔
Are you sure you're updating the right config file?
On 2/6/24 21:59, Tulir Asokan wrote:
Why are you wrapping the templates in
{{}}
🤔Are you sure you're updating the right config file?
I just changed it here: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/8b027efb65e6f0febee39cadf87054ef508934ed/roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2#L104
Since the same setting works just fine for another bot, I guess it's the right place.
~~I have a similar problem with the displayname_template
.
I use displayname_template: '{{or .ProfileName .PhoneNumber "Unknown user"}} (Signal)'
, but only a few contacts get the profile name they set themselves, most just get the phone number. It's not no effect though, since the "(Signal)" part is respected for all contacts. There just seems to be a problem with most of the profile names. Is there any sort of resync I have to do, except for logging in after the bridge migration?~~
EDIT: nevermind, my problem is once again the switching between profilename and number as mentioned in https://github.com/mautrix/signal/issues/235 and https://github.com/mautrix/signal/issues/396 ... so this is different and I suggest @3hhh to check whether the generated config matches the expected format (as described in the offtopic-block).
I suggest @3hhh to check whether the generated config matches the expected format (as described in the offtopic-block).
Yes, you're right - the config wasn't correctly generated, not sure exactly why. Anyway after re-running ansible it works now, thanks!
Btw I had to wait for some time for the sync to actually happen.
I suggest @3hhh to check whether the generated config matches the expected format (as described in the offtopic-block).
Yes, you're right - the config wasn't correctly generated, not sure exactly why. Anyway after re-running ansible it works now, thanks!
Btw I had to wait for some time for the sync to actually happen.
Oh! Because I put in a bad PR to the matrix-ansible-docker repo and the displayname got messed up as we were trying to use %raw and %endraw which doesn't work. Everyone using {{ }} for templates!
I set
in mautrix-signal v0.4.99+dev.de8c8d97 (Jan 10 2024, 17:17:36).
However the bot sets the names of my contacts to their profile name without the
(Signal)
suffix even.