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 --- matterbridge.toml.sample | 3 +++ 1 file changed, 3 insertions(+) (limited to 'matterbridge.toml.sample') diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample index 6b38580f..fcaac2a4 100644 --- a/matterbridge.toml.sample +++ b/matterbridge.toml.sample @@ -1231,6 +1231,9 @@ HTMLDisable=false ## RELOADABLE SETTINGS ## Settings below can be reloaded by editing the file +# UseUserName shows the username instead of the server nickname +UseUserName=false + #Whether to prefix messages from other bridges to matrix with the sender's nick. #Useful if username overrides for incoming webhooks isn't enabled on the #matrix server. If you set PrefixMessagesWithNick to true, each message -- cgit v1.2.3