summaryrefslogtreecommitdiffstats
path: root/bridge/matrix/helpers.go
diff options
context:
space:
mode:
authorLucki <Lucki1@hotmail.de>2022-09-06 00:46:52 +0200
committerGitHub <noreply@github.com>2022-09-06 00:46:52 +0200
commit0c839469839314f432703b8294cf318d5d16d785 (patch)
treeb6f944a76881b87c0c3a8ba75f51ccdcfcf28fa2 /bridge/matrix/helpers.go
parentfda05f22629156cc2eae130b501ebced2261ab42 (diff)
downloadmatterbridge-msglm-0c839469839314f432703b8294cf318d5d16d785.tar.gz
matterbridge-msglm-0c839469839314f432703b8294cf318d5d16d785.tar.bz2
matterbridge-msglm-0c839469839314f432703b8294cf318d5d16d785.zip
Add Matrix username spoofing (#1875)
* Matrix username spoofing * Add config sample
Diffstat (limited to 'bridge/matrix/helpers.go')
-rw-r--r--bridge/matrix/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/matrix/helpers.go b/bridge/matrix/helpers.go
index b8e848a2..5a91f748 100644
--- a/bridge/matrix/helpers.go
+++ b/bridge/matrix/helpers.go
@@ -51,7 +51,7 @@ func interface2Struct(in interface{}, out interface{}) error {
return json.Unmarshal(jsonObj, out)
}
-// getDisplayName retrieves the displayName for mxid, querying the homserver if the mxid is not in the cache.
+// getDisplayName retrieves the displayName for mxid, querying the homeserver if the mxid is not in the cache.
func (b *Bmatrix) getDisplayName(mxid string) string {
if b.GetBool("UseUserName") {
return mxid[1:]