Initial desegregation of users and automatic config updating
This commit is contained in:
@ -56,7 +56,7 @@ func (config *Config) copyToRegistration(registration *appservice.Registration)
|
||||
registration.SenderLocalpart = config.AppService.Bot.Username
|
||||
|
||||
userIDRegex, err := regexp.Compile(fmt.Sprintf("^@%s:%s$",
|
||||
config.Bridge.FormatUsername(".+", "[0-9]+"),
|
||||
config.Bridge.FormatUsername("[0-9]+"),
|
||||
config.Homeserver.Domain))
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user