aboutsummaryrefslogtreecommitdiff
path: root/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'util.go')
-rw-r--r--util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.go b/util.go
index c8a62ef..5d86b8a 100644
--- a/util.go
+++ b/util.go
@@ -58,11 +58,11 @@ func ezbrSystemSendf(user_mx_id string, format string, args ...interface{}) {
// ----
func roomAlias(protocol string, id RoomID) string {
- return fmt.Sprintf("_ezbr__%s__%s", safeStringForId(string(id)), protocol)
+ return fmt.Sprintf("%s_%s__%s", registration.SenderLocalpart, safeStringForId(string(id)), protocol)
}
func userMxId(protocol string, id UserID) string {
- return fmt.Sprintf("_ezbr__%s__%s", safeStringForId(string(id)), protocol)
+ return fmt.Sprintf("%s_%s__%s", registration.SenderLocalpart, safeStringForId(string(id)), protocol)
}
func safeStringForId(in string) string {