Set name for status broadcast room when creating and reformat example config
Fixes #27
This commit is contained in:
@ -274,7 +274,7 @@ func (handler *CommandHandler) CommandPM(ce *CommandEvent) {
|
||||
}
|
||||
return
|
||||
}
|
||||
err := portal.CreateMatrixRoom([]string{user.MXID})
|
||||
err := portal.CreateMatrixRoom(user)
|
||||
if err != nil {
|
||||
ce.Reply(fmt.Sprintf("Failed to create portal room: %v", err))
|
||||
return
|
||||
|
Reference in New Issue
Block a user