-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contact names are not syncing #565
Comments
Have you checked |
do you have any news? |
I have configiration like this: displayname_template: "{{if .BusinessName}}{{.BusinessName}}{{else if .PushName}}{{.PushName}}{{else}}{{.JID}}{{end}} (WA)" |
I have used spantaleev/matrix-docker-ansible-deploy to setup the bridge. |
I have the same problem. Used the Ansible but none of the configs seem to work. I added "|" before "bridge:" and tried many different display_template versions but none worked.
|
I simply used
and it works like a charm. |
Thank you for your suggestion. I tried it, when I run the Ansible script it says
Then I only used .FullName:
Then I tried
Seems Syntax related but I have no clue 😓 |
Ansible is treating To keep Ansible from processing that (so it is written exactly like that in the configuration file), you might need to enclose it between |
Thank you @avm99963 With the tips from here and from them I got following solution:
needs to enclosed by {% raw %} and {% endraw %} :
|
So is it no longer possible to create your own individual name in the matrix room? I don't have any contacts stored on my dedicated WhatsApp phone, why should I? New WA contacts are created via the bridge bot with |
I have a working syncing now, but I made several changes simultaneously, so I can't tell which one fixed it. Here is what I did:
Now it's a few days and my contact names are stable. |
I am using public server frei.chat. Facing same issue. Contact Name is not showing up, it is very irritating. |
I did that to remove the old portals that the bridge left behind. I guess it will re-create them in any case and potentially rename the existing ones. |
Just added ".FullName" to the configuration on frei.chat and a user confirmed the whatsapp rooms are being updated with their contacts name. |
Amazing working like charm! @akdk7 If you're core member of frei.chat I would like to contribute by providing resources from my company, also Have few suggestions. |
Happy to hear it's working :) If you like you can contact me directly via Matrix. |
ID? |
I just set up the bridge. If I list all my contacts, it shows the picture + full name + number. However, the display name for the user is just the number followed by
(WA)
.Is it possible to get the display name to be the contact name +
(WA)
? If so, how?The text was updated successfully, but these errors were encountered: