Rename matrix/room/ to matrix/rooms/

This commit is contained in:
Tulir Asokan 2018-03-22 23:46:43 +02:00
parent 20a1a31fa8
commit 373b25c01c
11 changed files with 10 additions and 13 deletions

View File

@ -23,7 +23,7 @@ import (
"maunium.net/go/gomatrix" "maunium.net/go/gomatrix"
"maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/pushrules"
"maunium.net/go/gomuks/matrix/room" "maunium.net/go/gomuks/matrix/rooms"
"maunium.net/go/gomuks/ui/debug" "maunium.net/go/gomuks/ui/debug"
) )

View File

@ -18,7 +18,7 @@ package ifc
import ( import (
"maunium.net/go/gomatrix" "maunium.net/go/gomatrix"
"maunium.net/go/gomuks/matrix/room" "maunium.net/go/gomuks/matrix/rooms"
) )
type MatrixContainer interface { type MatrixContainer interface {

View File

@ -26,7 +26,7 @@ import (
"maunium.net/go/gomuks/config" "maunium.net/go/gomuks/config"
"maunium.net/go/gomuks/interface" "maunium.net/go/gomuks/interface"
"maunium.net/go/gomuks/matrix/pushrules" "maunium.net/go/gomuks/matrix/pushrules"
"maunium.net/go/gomuks/matrix/room" "maunium.net/go/gomuks/matrix/rooms"
"maunium.net/go/gomuks/notification" "maunium.net/go/gomuks/notification"
"maunium.net/go/gomuks/ui/debug" "maunium.net/go/gomuks/ui/debug"
"maunium.net/go/gomuks/ui/widget" "maunium.net/go/gomuks/ui/widget"

View File

@ -23,7 +23,7 @@ import (
"github.com/zyedidia/glob" "github.com/zyedidia/glob"
"maunium.net/go/gomatrix" "maunium.net/go/gomatrix"
"maunium.net/go/gomuks/matrix/room" "maunium.net/go/gomuks/matrix/rooms"
) )
// PushCondKind is the type of a push condition. // PushCondKind is the type of a push condition.

View File

@ -1,12 +1,10 @@
package pushrules package pushrules
import ( import (
"encoding/json"
"net/url"
"encoding/json" "maunium.net/go/gomatrix"
"net/url"
"maunium.net/go/gomatrix"
) )
// GetPushRules returns the push notification rules for the global scope. // GetPushRules returns the push notification rules for the global scope.
@ -39,4 +37,3 @@ func EventToPushRules(event *gomatrix.Event) (*PushRuleset, error) {
return ruleset, nil return ruleset, nil
} }

View File

@ -19,7 +19,7 @@ package pushrules
import ( import (
"github.com/zyedidia/glob" "github.com/zyedidia/glob"
"maunium.net/go/gomatrix" "maunium.net/go/gomatrix"
"maunium.net/go/gomuks/matrix/room" "maunium.net/go/gomuks/matrix/rooms"
) )
type PushRuleArray []*PushRule type PushRuleArray []*PushRule

View File

@ -20,7 +20,7 @@ import (
"encoding/json" "encoding/json"
"maunium.net/go/gomatrix" "maunium.net/go/gomatrix"
"maunium.net/go/gomuks/matrix/room" "maunium.net/go/gomuks/matrix/rooms"
) )
type PushRuleset struct { type PushRuleset struct {

View File

@ -24,7 +24,7 @@ import (
"time" "time"
"github.com/gdamore/tcell" "github.com/gdamore/tcell"
"maunium.net/go/gomuks/matrix/room" "maunium.net/go/gomuks/matrix/rooms"
"maunium.net/go/gomuks/ui/types" "maunium.net/go/gomuks/ui/types"
"maunium.net/go/tview" "maunium.net/go/tview"
) )