@@ -16,7 +16,7 @@ network:
1616 # .Profile.Pronouns - The pronouns of the user
1717 # .Profile.Email - The email address of the user
1818 # .Profile.Phone - The formatted phone number of the user
19- displayname_template : ' {{ `{{.Profile.DisplayName}}{{if .IsBot}} (bot){{end}}` }}'
19+ displayname_template : ' {{ `{{or .Profile.DisplayName .Profile.RealName .Name }}{{if .IsBot}} (bot){{end}}` }}'
2020 # Channel name template for Slack channels (all types). Available variables:
2121 # .Name - The name of the channel
2222 # .TeamName - The name of the team the channel is in
@@ -31,7 +31,7 @@ network:
3131 # .IsShared - Whether the channel is shared with another workspace.
3232 # .IsExtShared - Whether the channel is shared with an external organization.
3333 # .IsOrgShared - Whether the channel is shared with an organization in the same enterprise grid.
34- channel_name_template : ' {{ `{{if or .IsNoteToSelf (not .IsIM)}}{{if and .IsChannel (not .IsPrivate)}}#{{end}}{{.Name}}{{if .IsNoteToSelf}} (you){{end}}{{end}}` }}'
34+ channel_name_template : ' {{ `{{if or .IsNoteToSelf (and ( not .IsIM) (not .IsMpIM) )}}{{if and .IsChannel (not .IsPrivate)}}#{{end}}{{.Name}}{{if .IsNoteToSelf}} (you){{end}}{{end}}` }}'
3535 # Displayname template for Slack workspaces. Available variables:
3636 # .Name - The name of the team
3737 # .Domain - The Slack subdomain of the team
@@ -47,6 +47,8 @@ network:
4747 # Should channel participants only be synced when creating the room?
4848 # If you want participants to always be accurately synced, set participant_sync_count to a high value and this to false.
4949 participant_sync_only_on_create : true
50+ # Should channel portals be muted by default?
51+ mute_channels_by_default : true
5052 # Options for backfilling messages from Slack.
5153 backfill :
5254 # Number of conversations to fetch from Slack when syncing workspace.
0 commit comments