aboutsummaryrefslogtreecommitdiff
path: root/matrix/rooms/room.go
diff options
context:
space:
mode:
Diffstat (limited to 'matrix/rooms/room.go')
-rw-r--r--matrix/rooms/room.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/matrix/rooms/room.go b/matrix/rooms/room.go
index 87e63f0..df7160c 100644
--- a/matrix/rooms/room.go
+++ b/matrix/rooms/room.go
@@ -213,13 +213,6 @@ func (room *Room) Unload() bool {
debug.Print("Unloading", room.ID)
room.Save()
room.state = nil
- room.topicCache = ""
- room.CanonicalAliasCache = ""
- room.firstMemberCache = nil
- room.secondMemberCache = nil
- room.memberCache = nil
- room.exMemberCache = nil
- room.replacedByCache = nil
if room.postUnload != nil {
room.postUnload()
}