Add basic HTML rendering (ref #16)

This commit is contained in:
Tulir Asokan
2018-04-14 00:34:25 +03:00
parent 69c163cfe9
commit e7bf5bd59f
6 changed files with 179 additions and 14 deletions

View File

@ -94,11 +94,7 @@ func (room *Room) UpdateState(event *gomatrix.Event) {
room.memberCache = nil
room.firstMemberCache = ""
fallthrough
case "m.room.name":
fallthrough
case "m.room.canonical_alias":
fallthrough
case "m.room.alias":
case "m.room.name", "m.room.canonical_alias", "m.room.alias":
room.nameCache = ""
case "m.room.topic":
room.topicCache = ""