Move all cache to ~/.cache/gomuks
Now `rm -rf ~/.cache/gomuks` has the same effect as `/clearcache`
This commit is contained in:
@ -19,8 +19,14 @@ package pushrules
|
||||
import (
|
||||
"maunium.net/go/gomuks/lib/glob"
|
||||
"maunium.net/go/gomatrix"
|
||||
"encoding/gob"
|
||||
)
|
||||
|
||||
func init() {
|
||||
gob.Register(PushRuleArray{})
|
||||
gob.Register(PushRuleMap{})
|
||||
}
|
||||
|
||||
type PushRuleCollection interface {
|
||||
GetActions(room Room, event *gomatrix.Event) PushActionArray
|
||||
}
|
||||
|
Reference in New Issue
Block a user