aboutsummaryrefslogtreecommitdiff
path: root/matrix/pushrules/pushrules.go
diff options
context:
space:
mode:
Diffstat (limited to 'matrix/pushrules/pushrules.go')
-rw-r--r--matrix/pushrules/pushrules.go9
1 files changed, 3 insertions, 6 deletions
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
}
-