diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-04-14 18:09:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-14 18:09:02 +0300 |
commit | 53cdfb64c1773b63fb9432a1525b4ac4acb154fc (patch) | |
tree | 1c1aa180313abe8179d0b07591348e222b60483e /matrix/rooms | |
parent | 14a84295d72a24a8bce8a71c240ab2b155ed5a1f (diff) | |
parent | d060d10615434c557373ee00ba009cc8b583e881 (diff) |
Merge pull request #18 from tulir/ui-refactor
Refactor UI to use interfaces and add advanced message rendering
Diffstat (limited to 'matrix/rooms')
-rw-r--r-- | matrix/rooms/room.go | 6 |
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 = "" |