Add external debug file, refactoring and push rule parser

This commit is contained in:
Tulir Asokan
2018-03-21 18:46:19 +02:00
parent 7994c289aa
commit 35b6c7bd27
9 changed files with 469 additions and 6 deletions

View File

@ -22,6 +22,7 @@ import (
"path/filepath"
"maunium.net/go/gomatrix"
"maunium.net/go/gomuks/matrix/ext"
rooms "maunium.net/go/gomuks/matrix/room"
"maunium.net/go/gomuks/ui/debug"
)
@ -33,7 +34,7 @@ type Session struct {
NextBatch string
FilterID string
Rooms map[string]*rooms.Room
PushRules *gomatrix.PushRuleset
PushRules *gomx_ext.PushRuleset
}
func (config *Config) LoadSession(mxid string) error {