Add Matrix->WhatsApp room name changes

This commit is contained in:
Tulir Asokan
2018-08-26 17:02:32 +03:00
parent 0d45b5b857
commit 9da7f15e8f
3 changed files with 39 additions and 6 deletions

View File

@ -347,7 +347,7 @@ func (portal *Portal) CreateMatrixRoom() error {
InitialState: []*gomatrix.Event{{
Type: gomatrix.StatePowerLevels,
Content: gomatrix.Content{
PowerLevels: portal.GetBasePowerLevels(),
PowerLevels: *portal.GetBasePowerLevels(),
},
}},
})