Set name for status broadcast room when creating and reformat example config

Fixes #27
This commit is contained in:
Tulir Asokan
2019-03-14 00:38:11 +02:00
parent 67a041c06d
commit c88e299348
5 changed files with 113 additions and 82 deletions

View File

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