Skip to content
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

{{.TeamName}} works in channel_name_template but not in displayname_template #50

Open
niebloomj opened this issue Mar 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@niebloomj
Copy link

I have chats with the same people across multiple workspaces, so I need to be able to differentiate which team I am talking to them from. When I added the team name parameter to the displayname_template, it resulted in the following:
displayname_template: '{{.RealName}} ({{.TeamName}}, S)' -> John Doe (

@niebloomj niebloomj added the bug Something isn't working label Mar 13, 2024
@twouters
Copy link
Contributor

twouters commented Mar 13, 2024

There's a PR to add space support which is often accepted as a workaround for this problem: #37

(it doesn't fix the bug, just reduces the need to add TeamName in the display name.)

@niebloomj
Copy link
Author

That PR is from many months ago, not sure when/if it will be merged, but just adding the variable to the template I imagine is simpler to get pushed through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants