aboutsummaryrefslogtreecommitdiff
path: root/matrix/rooms
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-04-14 00:34:25 +0300
committerTulir Asokan <tulir@maunium.net>2018-04-14 00:34:25 +0300
commite7bf5bd59fc0a43172b6ab5b338e1d60bd4b3bbb (patch)
tree67aacbe31ba2d95fd7a648254f5173d7f46b4dc1 /matrix/rooms
parent69c163cfe9d353060896403a3e844848d4fd54eb (diff)
Add basic HTML rendering (ref #16)
Diffstat (limited to 'matrix/rooms')
-rw-r--r--matrix/rooms/room.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/matrix/rooms/room.go b/matrix/rooms/room.go
index 7dd2af4..2e12a28 100644
--- a/matrix/rooms/room.go
+++ b/matrix/rooms/room.go
@@ -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 = ""