diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-03-22 23:46:43 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-03-22 23:46:43 +0200 |
commit | 373b25c01cc94afff3abb0fe98af31aa52a40568 (patch) | |
tree | cfe9591ca6f51a4f934cfda609deda0e4a951480 /matrix/pushrules | |
parent | 20a1a31fa85d71f6fc36b7c895aa80646c8f7fb3 (diff) |
Rename matrix/room/ to matrix/rooms/
Diffstat (limited to 'matrix/pushrules')
-rw-r--r-- | matrix/pushrules/condition.go | 2 | ||||
-rw-r--r-- | matrix/pushrules/pushrules.go | 9 | ||||
-rw-r--r-- | matrix/pushrules/rule.go | 2 | ||||
-rw-r--r-- | matrix/pushrules/ruleset.go | 2 |
4 files changed, 6 insertions, 9 deletions
diff --git a/matrix/pushrules/condition.go b/matrix/pushrules/condition.go index ecbf5b2..e9b11af 100644 --- a/matrix/pushrules/condition.go +++ b/matrix/pushrules/condition.go @@ -23,7 +23,7 @@ import ( "github.com/zyedidia/glob" "maunium.net/go/gomatrix" - "maunium.net/go/gomuks/matrix/room" + "maunium.net/go/gomuks/matrix/rooms" ) // PushCondKind is the type of a push condition. diff --git a/matrix/pushrules/pushrules.go b/matrix/pushrules/pushrules.go index bfcb4ef..876713b 100644 --- a/matrix/pushrules/pushrules.go +++ b/matrix/pushrules/pushrules.go @@ -1,12 +1,10 @@ package pushrules import ( + "encoding/json" + "net/url" -"encoding/json" -"net/url" - -"maunium.net/go/gomatrix" - + "maunium.net/go/gomatrix" ) // GetPushRules returns the push notification rules for the global scope. @@ -39,4 +37,3 @@ func EventToPushRules(event *gomatrix.Event) (*PushRuleset, error) { return ruleset, nil } - diff --git a/matrix/pushrules/rule.go b/matrix/pushrules/rule.go index 067bc95..933d493 100644 --- a/matrix/pushrules/rule.go +++ b/matrix/pushrules/rule.go @@ -19,7 +19,7 @@ package pushrules import ( "github.com/zyedidia/glob" "maunium.net/go/gomatrix" - "maunium.net/go/gomuks/matrix/room" + "maunium.net/go/gomuks/matrix/rooms" ) type PushRuleArray []*PushRule diff --git a/matrix/pushrules/ruleset.go b/matrix/pushrules/ruleset.go index 6708b70..a8d212d 100644 --- a/matrix/pushrules/ruleset.go +++ b/matrix/pushrules/ruleset.go @@ -20,7 +20,7 @@ import ( "encoding/json" "maunium.net/go/gomatrix" - "maunium.net/go/gomuks/matrix/room" + "maunium.net/go/gomuks/matrix/rooms" ) type PushRuleset struct { |