aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/session.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/session.go b/config/session.go
index 2f2ff7c..631c954 100644
--- a/config/session.go
+++ b/config/session.go
@@ -52,6 +52,7 @@ func (config *Config) NewSession(mxid string) *Session {
func (s *Session) Clear() {
s.Rooms = make(map[string]*rooms.Room)
+ s.PushRules = nil
s.NextBatch = ""
s.FilterID = ""
s.Save()