aboutsummaryrefslogtreecommitdiff
path: root/config/session.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-20 23:34:43 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-20 23:36:09 +0200
commitbb58954f755ac0ee5a7ad7e11159f00810d23aa3 (patch)
tree1cc67ed2b3e4d6fb5d6d92e9089259e26d5e3973 /config/session.go
parent85f289c98d0ebdecb7e504eb8d40b5413be5fc92 (diff)
Add initial notification support that just spams about everything, prepare for push rules (ref #7)
Diffstat (limited to 'config/session.go')
-rw-r--r--config/session.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/session.go b/config/session.go
index e314f5f..128cbe5 100644
--- a/config/session.go
+++ b/config/session.go
@@ -33,6 +33,7 @@ type Session struct {
NextBatch string
FilterID string
Rooms map[string]*rooms.Room
+ PushRules *gomatrix.PushRuleset
}
func (config *Config) LoadSession(mxid string) error {