From 1a3c57a031acfd99f9a6882478f866d249f9d39d Mon Sep 17 00:00:00 2001 From: Simon THOBY Date: Sun, 22 Nov 2020 15:57:41 +0100 Subject: 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 --- bridge/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/config') 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 -- cgit v1.2.3