diff options
author | Simon THOBY <git@nightmared.fr> | 2020-11-22 15:57:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-22 15:57:41 +0100 |
commit | 1a3c57a031acfd99f9a6882478f866d249f9d39d (patch) | |
tree | d6203d045a025cc9b44ade17710a4b77f3e38e9a /bridge/config/config.go | |
parent | 4cc2c914e634eb8c79eb61aa1bc29faf6021ffcf (diff) | |
download | matterbridge-msglm-1a3c57a031acfd99f9a6882478f866d249f9d39d.tar.gz matterbridge-msglm-1a3c57a031acfd99f9a6882478f866d249f9d39d.tar.bz2 matterbridge-msglm-1a3c57a031acfd99f9a6882478f866d249f9d39d.zip |
Send the display name instead of the user name (matrix) (#1282)
* matrix: send the display name (the nickname in matrix parlance) instead of the user name
There is also the option UseUserName (already in use by the discord bridge) to turn back to the old behavior.
* matrix: update displayNames on join events
* matrix: introduce a helper.go file to keep matrix.go size reasonable
Diffstat (limited to 'bridge/config/config.go')
-rw-r--r-- | bridge/config/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/config/config.go b/bridge/config/config.go index 67a7dc13..7f8d3a4a 100644 --- a/bridge/config/config.go +++ b/bridge/config/config.go @@ -154,7 +154,7 @@ type Protocol struct { UseTLS bool // IRC UseDiscriminator bool // discord UseFirstName bool // telegram - UseUserName bool // discord + UseUserName bool // discord, matrix UseInsecureURL bool // telegram VerboseJoinPart bool // IRC WebhookBindAddress string // mattermost, slack |