4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-13 19:36:28 +00:00

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
This commit is contained in:
Simon THOBY
2020-11-22 15:57:41 +01:00
committed by GitHub
parent 4cc2c914e6
commit 1a3c57a031
4 changed files with 206 additions and 110 deletions

View File

@ -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