Fix some things related to m.bridge

This commit is contained in:
Tulir Asokan
2020-07-03 13:47:02 +03:00
parent d9874ab1b4
commit 43a3815970
3 changed files with 4 additions and 2 deletions

View File

@@ -823,7 +823,7 @@ func (portal *Portal) handleHistory(user *User, messages []interface{}) {
type BridgeInfoSection struct {
ID string `json:"id"`
DisplayName string `json:"display_name,omitempty"`
DisplayName string `json:"displayname,omitempty"`
AvatarURL id.ContentURIString `json:"avatar_url,omitempty"`
ExternalURL string `json:"external_url,omitempty"`
}