Clear push rules when clearing cache and listen to push rule updates
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user