aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appservice/api/query.go2
-rw-r--r--clientapi/clientapi.go4
-rw-r--r--clientapi/consumers/roomserver.go2
-rw-r--r--clientapi/routing/account_data.go2
-rw-r--r--clientapi/routing/createroom.go2
-rw-r--r--clientapi/routing/device.go2
-rw-r--r--clientapi/routing/filter.go2
-rw-r--r--clientapi/routing/joinroom.go2
-rw-r--r--clientapi/routing/login.go4
-rw-r--r--clientapi/routing/logout.go2
-rw-r--r--clientapi/routing/membership.go2
-rw-r--r--clientapi/routing/memberships.go2
-rw-r--r--clientapi/routing/profile.go2
-rw-r--r--clientapi/routing/register.go2
-rw-r--r--clientapi/routing/room_tagging.go2
-rw-r--r--clientapi/routing/routing.go4
-rw-r--r--clientapi/routing/sendtyping.go2
-rw-r--r--clientapi/routing/threepid.go2
-rw-r--r--clientapi/threepid/invites.go2
-rw-r--r--cmd/create-account/main.go4
-rw-r--r--internal/setup/base.go4
-rw-r--r--internal/setup/monolith.go4
-rw-r--r--userapi/internal/api.go4
-rw-r--r--userapi/storage/accounts/interface.go (renamed from clientapi/auth/storage/accounts/interface.go)0
-rw-r--r--userapi/storage/accounts/postgres/account_data_table.go (renamed from clientapi/auth/storage/accounts/postgres/account_data_table.go)0
-rw-r--r--userapi/storage/accounts/postgres/accounts_table.go (renamed from clientapi/auth/storage/accounts/postgres/accounts_table.go)0
-rw-r--r--userapi/storage/accounts/postgres/filter_table.go (renamed from clientapi/auth/storage/accounts/postgres/filter_table.go)0
-rw-r--r--userapi/storage/accounts/postgres/membership_table.go (renamed from clientapi/auth/storage/accounts/postgres/membership_table.go)0
-rw-r--r--userapi/storage/accounts/postgres/profile_table.go (renamed from clientapi/auth/storage/accounts/postgres/profile_table.go)0
-rw-r--r--userapi/storage/accounts/postgres/storage.go (renamed from clientapi/auth/storage/accounts/postgres/storage.go)0
-rw-r--r--userapi/storage/accounts/postgres/threepid_table.go (renamed from clientapi/auth/storage/accounts/postgres/threepid_table.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/account_data_table.go (renamed from clientapi/auth/storage/accounts/sqlite3/account_data_table.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/accounts_table.go (renamed from clientapi/auth/storage/accounts/sqlite3/accounts_table.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/constraint.go (renamed from clientapi/auth/storage/accounts/sqlite3/constraint.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/constraint_wasm.go (renamed from clientapi/auth/storage/accounts/sqlite3/constraint_wasm.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/filter_table.go (renamed from clientapi/auth/storage/accounts/sqlite3/filter_table.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/membership_table.go (renamed from clientapi/auth/storage/accounts/sqlite3/membership_table.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/profile_table.go (renamed from clientapi/auth/storage/accounts/sqlite3/profile_table.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/storage.go (renamed from clientapi/auth/storage/accounts/sqlite3/storage.go)0
-rw-r--r--userapi/storage/accounts/sqlite3/threepid_table.go (renamed from clientapi/auth/storage/accounts/sqlite3/threepid_table.go)0
-rw-r--r--userapi/storage/accounts/storage.go (renamed from clientapi/auth/storage/accounts/storage.go)4
-rw-r--r--userapi/storage/accounts/storage_wasm.go (renamed from clientapi/auth/storage/accounts/storage_wasm.go)2
-rw-r--r--userapi/storage/devices/interface.go (renamed from clientapi/auth/storage/devices/interface.go)0
-rw-r--r--userapi/storage/devices/postgres/devices_table.go (renamed from clientapi/auth/storage/devices/postgres/devices_table.go)0
-rw-r--r--userapi/storage/devices/postgres/storage.go (renamed from clientapi/auth/storage/devices/postgres/storage.go)0
-rw-r--r--userapi/storage/devices/sqlite3/devices_table.go (renamed from clientapi/auth/storage/devices/sqlite3/devices_table.go)0
-rw-r--r--userapi/storage/devices/sqlite3/storage.go (renamed from clientapi/auth/storage/devices/sqlite3/storage.go)0
-rw-r--r--userapi/storage/devices/storage.go (renamed from clientapi/auth/storage/devices/storage.go)4
-rw-r--r--userapi/storage/devices/storage_wasm.go (renamed from clientapi/auth/storage/devices/storage_wasm.go)2
-rw-r--r--userapi/userapi.go4
-rw-r--r--userapi/userapi_test.go4
51 files changed, 40 insertions, 40 deletions
diff --git a/appservice/api/query.go b/appservice/api/query.go
index 0a5cc9f1..29e374ac 100644
--- a/appservice/api/query.go
+++ b/appservice/api/query.go
@@ -22,8 +22,8 @@ import (
"database/sql"
"github.com/matrix-org/dendrite/clientapi/auth/authtypes"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/internal/eventutil"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go
index 637e1469..174eb1bf 100644
--- a/clientapi/clientapi.go
+++ b/clientapi/clientapi.go
@@ -18,8 +18,6 @@ import (
"github.com/Shopify/sarama"
"github.com/gorilla/mux"
appserviceAPI "github.com/matrix-org/dendrite/appservice/api"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/clientapi/consumers"
"github.com/matrix-org/dendrite/clientapi/producers"
"github.com/matrix-org/dendrite/clientapi/routing"
@@ -29,6 +27,8 @@ import (
"github.com/matrix-org/dendrite/internal/transactions"
roomserverAPI "github.com/matrix-org/dendrite/roomserver/api"
userapi "github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
"github.com/sirupsen/logrus"
)
diff --git a/clientapi/consumers/roomserver.go b/clientapi/consumers/roomserver.go
index caa028ba..beeda042 100644
--- a/clientapi/consumers/roomserver.go
+++ b/clientapi/consumers/roomserver.go
@@ -18,10 +18,10 @@ import (
"context"
"encoding/json"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/internal"
"github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/roomserver/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/Shopify/sarama"
diff --git a/clientapi/routing/account_data.go b/clientapi/routing/account_data.go
index 5e0509a5..875249b3 100644
--- a/clientapi/routing/account_data.go
+++ b/clientapi/routing/account_data.go
@@ -19,10 +19,10 @@ import (
"io/ioutil"
"net/http"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/producers"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
diff --git a/clientapi/routing/createroom.go b/clientapi/routing/createroom.go
index 2bb537b0..be712482 100644
--- a/clientapi/routing/createroom.go
+++ b/clientapi/routing/createroom.go
@@ -26,12 +26,12 @@ import (
roomserverVersion "github.com/matrix-org/dendrite/roomserver/version"
"github.com/matrix-org/dendrite/userapi/api"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/threepid"
"github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/internal/eventutil"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
log "github.com/sirupsen/logrus"
diff --git a/clientapi/routing/device.go b/clientapi/routing/device.go
index 02acb462..403937c9 100644
--- a/clientapi/routing/device.go
+++ b/clientapi/routing/device.go
@@ -19,9 +19,9 @@ import (
"encoding/json"
"net/http"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
)
diff --git a/clientapi/routing/filter.go b/clientapi/routing/filter.go
index 7c583045..6520e6e4 100644
--- a/clientapi/routing/filter.go
+++ b/clientapi/routing/filter.go
@@ -17,10 +17,10 @@ package routing
import (
"net/http"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
)
diff --git a/clientapi/routing/joinroom.go b/clientapi/routing/joinroom.go
index a00b34a5..e190beef 100644
--- a/clientapi/routing/joinroom.go
+++ b/clientapi/routing/joinroom.go
@@ -17,11 +17,11 @@ package routing
import (
"net/http"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
roomserverAPI "github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
)
diff --git a/clientapi/routing/login.go b/clientapi/routing/login.go
index 25231a3a..1b894a56 100644
--- a/clientapi/routing/login.go
+++ b/clientapi/routing/login.go
@@ -20,13 +20,13 @@ import (
"context"
"github.com/matrix-org/dendrite/clientapi/auth"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/userutil"
"github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
)
diff --git a/clientapi/routing/logout.go b/clientapi/routing/logout.go
index f1276082..3ce47169 100644
--- a/clientapi/routing/logout.go
+++ b/clientapi/routing/logout.go
@@ -17,9 +17,9 @@ package routing
import (
"net/http"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
)
diff --git a/clientapi/routing/membership.go b/clientapi/routing/membership.go
index c7b91613..0d4b0d88 100644
--- a/clientapi/routing/membership.go
+++ b/clientapi/routing/membership.go
@@ -22,7 +22,6 @@ import (
appserviceAPI "github.com/matrix-org/dendrite/appservice/api"
"github.com/matrix-org/dendrite/clientapi/auth/authtypes"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/threepid"
@@ -31,6 +30,7 @@ import (
"github.com/matrix-org/dendrite/roomserver/api"
roomserverAPI "github.com/matrix-org/dendrite/roomserver/api"
userapi "github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
diff --git a/clientapi/routing/memberships.go b/clientapi/routing/memberships.go
index a5bb2a90..574a2c48 100644
--- a/clientapi/routing/memberships.go
+++ b/clientapi/routing/memberships.go
@@ -17,7 +17,7 @@ package routing
import (
"net/http"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/internal/config"
diff --git a/clientapi/routing/profile.go b/clientapi/routing/profile.go
index a72ad3bc..7c2cd19b 100644
--- a/clientapi/routing/profile.go
+++ b/clientapi/routing/profile.go
@@ -21,13 +21,13 @@ import (
appserviceAPI "github.com/matrix-org/dendrite/appservice/api"
"github.com/matrix-org/dendrite/clientapi/auth/authtypes"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/internal/eventutil"
"github.com/matrix-org/dendrite/roomserver/api"
userapi "github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/gomatrix"
diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go
index fddf9253..69ebdfd7 100644
--- a/clientapi/routing/register.go
+++ b/clientapi/routing/register.go
@@ -37,11 +37,11 @@ import (
"github.com/matrix-org/dendrite/clientapi/auth"
"github.com/matrix-org/dendrite/clientapi/auth/authtypes"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/userutil"
userapi "github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/gomatrixserverlib/tokens"
"github.com/matrix-org/util"
diff --git a/clientapi/routing/room_tagging.go b/clientapi/routing/room_tagging.go
index a3fe0e42..b1cfcca8 100644
--- a/clientapi/routing/room_tagging.go
+++ b/clientapi/routing/room_tagging.go
@@ -20,11 +20,11 @@ import (
"github.com/sirupsen/logrus"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/producers"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrix"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
diff --git a/clientapi/routing/routing.go b/clientapi/routing/routing.go
index 5e8a606a..0fe687b3 100644
--- a/clientapi/routing/routing.go
+++ b/clientapi/routing/routing.go
@@ -21,8 +21,6 @@ import (
"github.com/gorilla/mux"
appserviceAPI "github.com/matrix-org/dendrite/appservice/api"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/producers"
eduServerAPI "github.com/matrix-org/dendrite/eduserver/api"
@@ -32,6 +30,8 @@ import (
"github.com/matrix-org/dendrite/internal/transactions"
roomserverAPI "github.com/matrix-org/dendrite/roomserver/api"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
)
diff --git a/clientapi/routing/sendtyping.go b/clientapi/routing/sendtyping.go
index 213e7fdc..9b6a0b39 100644
--- a/clientapi/routing/sendtyping.go
+++ b/clientapi/routing/sendtyping.go
@@ -16,12 +16,12 @@ import (
"database/sql"
"net/http"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/userutil"
"github.com/matrix-org/dendrite/eduserver/api"
userapi "github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/util"
)
diff --git a/clientapi/routing/threepid.go b/clientapi/routing/threepid.go
index c712c1c3..e7aaadf5 100644
--- a/clientapi/routing/threepid.go
+++ b/clientapi/routing/threepid.go
@@ -18,12 +18,12 @@ import (
"net/http"
"github.com/matrix-org/dendrite/clientapi/auth/authtypes"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/clientapi/httputil"
"github.com/matrix-org/dendrite/clientapi/jsonerror"
"github.com/matrix-org/dendrite/clientapi/threepid"
"github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
diff --git a/clientapi/threepid/invites.go b/clientapi/threepid/invites.go
index d9da5c50..c308cb1f 100644
--- a/clientapi/threepid/invites.go
+++ b/clientapi/threepid/invites.go
@@ -25,11 +25,11 @@ import (
"time"
"github.com/matrix-org/dendrite/clientapi/auth/authtypes"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
"github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/internal/eventutil"
"github.com/matrix-org/dendrite/roomserver/api"
userapi "github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/cmd/create-account/main.go b/cmd/create-account/main.go
index 9c1e4593..ff022ec3 100644
--- a/cmd/create-account/main.go
+++ b/cmd/create-account/main.go
@@ -20,8 +20,8 @@ import (
"fmt"
"os"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/internal/setup/base.go b/internal/setup/base.go
index e287cfbd..66424a60 100644
--- a/internal/setup/base.go
+++ b/internal/setup/base.go
@@ -28,9 +28,9 @@ import (
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/naffka"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/internal"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/Shopify/sarama"
"github.com/gorilla/mux"
diff --git a/internal/setup/monolith.go b/internal/setup/monolith.go
index bb81f740..24bee950 100644
--- a/internal/setup/monolith.go
+++ b/internal/setup/monolith.go
@@ -19,8 +19,6 @@ import (
"github.com/gorilla/mux"
appserviceAPI "github.com/matrix-org/dendrite/appservice/api"
"github.com/matrix-org/dendrite/clientapi"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
eduServerAPI "github.com/matrix-org/dendrite/eduserver/api"
"github.com/matrix-org/dendrite/federationapi"
federationSenderAPI "github.com/matrix-org/dendrite/federationsender/api"
@@ -35,6 +33,8 @@ import (
serverKeyAPI "github.com/matrix-org/dendrite/serverkeyapi/api"
"github.com/matrix-org/dendrite/syncapi"
userapi "github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/userapi/internal/api.go b/userapi/internal/api.go
index 3a413166..ae021f57 100644
--- a/userapi/internal/api.go
+++ b/userapi/internal/api.go
@@ -21,12 +21,12 @@ import (
"fmt"
"github.com/matrix-org/dendrite/appservice/types"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/clientapi/userutil"
"github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/internal/sqlutil"
"github.com/matrix-org/dendrite/userapi/api"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/clientapi/auth/storage/accounts/interface.go b/userapi/storage/accounts/interface.go
index 13e3e289..13e3e289 100644
--- a/clientapi/auth/storage/accounts/interface.go
+++ b/userapi/storage/accounts/interface.go
diff --git a/clientapi/auth/storage/accounts/postgres/account_data_table.go b/userapi/storage/accounts/postgres/account_data_table.go
index 2f16c5c0..2f16c5c0 100644
--- a/clientapi/auth/storage/accounts/postgres/account_data_table.go
+++ b/userapi/storage/accounts/postgres/account_data_table.go
diff --git a/clientapi/auth/storage/accounts/postgres/accounts_table.go b/userapi/storage/accounts/postgres/accounts_table.go
index 931ffb73..931ffb73 100644
--- a/clientapi/auth/storage/accounts/postgres/accounts_table.go
+++ b/userapi/storage/accounts/postgres/accounts_table.go
diff --git a/clientapi/auth/storage/accounts/postgres/filter_table.go b/userapi/storage/accounts/postgres/filter_table.go
index c54e4bc4..c54e4bc4 100644
--- a/clientapi/auth/storage/accounts/postgres/filter_table.go
+++ b/userapi/storage/accounts/postgres/filter_table.go
diff --git a/clientapi/auth/storage/accounts/postgres/membership_table.go b/userapi/storage/accounts/postgres/membership_table.go
index 623530ac..623530ac 100644
--- a/clientapi/auth/storage/accounts/postgres/membership_table.go
+++ b/userapi/storage/accounts/postgres/membership_table.go
diff --git a/clientapi/auth/storage/accounts/postgres/profile_table.go b/userapi/storage/accounts/postgres/profile_table.go
index d2cbeb8e..d2cbeb8e 100644
--- a/clientapi/auth/storage/accounts/postgres/profile_table.go
+++ b/userapi/storage/accounts/postgres/profile_table.go
diff --git a/clientapi/auth/storage/accounts/postgres/storage.go b/userapi/storage/accounts/postgres/storage.go
index 2b88cb70..2b88cb70 100644
--- a/clientapi/auth/storage/accounts/postgres/storage.go
+++ b/userapi/storage/accounts/postgres/storage.go
diff --git a/clientapi/auth/storage/accounts/postgres/threepid_table.go b/userapi/storage/accounts/postgres/threepid_table.go
index 7de96350..7de96350 100644
--- a/clientapi/auth/storage/accounts/postgres/threepid_table.go
+++ b/userapi/storage/accounts/postgres/threepid_table.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/account_data_table.go b/userapi/storage/accounts/sqlite3/account_data_table.go
index b6bb6361..b6bb6361 100644
--- a/clientapi/auth/storage/accounts/sqlite3/account_data_table.go
+++ b/userapi/storage/accounts/sqlite3/account_data_table.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/accounts_table.go b/userapi/storage/accounts/sqlite3/accounts_table.go
index 768f536d..768f536d 100644
--- a/clientapi/auth/storage/accounts/sqlite3/accounts_table.go
+++ b/userapi/storage/accounts/sqlite3/accounts_table.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/constraint.go b/userapi/storage/accounts/sqlite3/constraint.go
index 32f96c8e..32f96c8e 100644
--- a/clientapi/auth/storage/accounts/sqlite3/constraint.go
+++ b/userapi/storage/accounts/sqlite3/constraint.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/constraint_wasm.go b/userapi/storage/accounts/sqlite3/constraint_wasm.go
index 0dd5b1fe..0dd5b1fe 100644
--- a/clientapi/auth/storage/accounts/sqlite3/constraint_wasm.go
+++ b/userapi/storage/accounts/sqlite3/constraint_wasm.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/filter_table.go b/userapi/storage/accounts/sqlite3/filter_table.go
index 7f1a0c24..7f1a0c24 100644
--- a/clientapi/auth/storage/accounts/sqlite3/filter_table.go
+++ b/userapi/storage/accounts/sqlite3/filter_table.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/membership_table.go b/userapi/storage/accounts/sqlite3/membership_table.go
index 67958f27..67958f27 100644
--- a/clientapi/auth/storage/accounts/sqlite3/membership_table.go
+++ b/userapi/storage/accounts/sqlite3/membership_table.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/profile_table.go b/userapi/storage/accounts/sqlite3/profile_table.go
index 9b5192a0..9b5192a0 100644
--- a/clientapi/auth/storage/accounts/sqlite3/profile_table.go
+++ b/userapi/storage/accounts/sqlite3/profile_table.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/storage.go b/userapi/storage/accounts/sqlite3/storage.go
index 4dd755a7..4dd755a7 100644
--- a/clientapi/auth/storage/accounts/sqlite3/storage.go
+++ b/userapi/storage/accounts/sqlite3/storage.go
diff --git a/clientapi/auth/storage/accounts/sqlite3/threepid_table.go b/userapi/storage/accounts/sqlite3/threepid_table.go
index 0200dee7..0200dee7 100644
--- a/clientapi/auth/storage/accounts/sqlite3/threepid_table.go
+++ b/userapi/storage/accounts/sqlite3/threepid_table.go
diff --git a/clientapi/auth/storage/accounts/storage.go b/userapi/storage/accounts/storage.go
index 42ec14fc..87f626bf 100644
--- a/clientapi/auth/storage/accounts/storage.go
+++ b/userapi/storage/accounts/storage.go
@@ -19,9 +19,9 @@ package accounts
import (
"net/url"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/postgres"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/sqlite3"
"github.com/matrix-org/dendrite/internal/sqlutil"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts/postgres"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts/sqlite3"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/clientapi/auth/storage/accounts/storage_wasm.go b/userapi/storage/accounts/storage_wasm.go
index 6c221ccf..69256705 100644
--- a/clientapi/auth/storage/accounts/storage_wasm.go
+++ b/userapi/storage/accounts/storage_wasm.go
@@ -18,8 +18,8 @@ import (
"fmt"
"net/url"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/sqlite3"
"github.com/matrix-org/dendrite/internal/sqlutil"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts/sqlite3"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/clientapi/auth/storage/devices/interface.go b/userapi/storage/devices/interface.go
index 4bdb5785..4bdb5785 100644
--- a/clientapi/auth/storage/devices/interface.go
+++ b/userapi/storage/devices/interface.go
diff --git a/clientapi/auth/storage/devices/postgres/devices_table.go b/userapi/storage/devices/postgres/devices_table.go
index 1d036d1b..1d036d1b 100644
--- a/clientapi/auth/storage/devices/postgres/devices_table.go
+++ b/userapi/storage/devices/postgres/devices_table.go
diff --git a/clientapi/auth/storage/devices/postgres/storage.go b/userapi/storage/devices/postgres/storage.go
index 801657bd..801657bd 100644
--- a/clientapi/auth/storage/devices/postgres/storage.go
+++ b/userapi/storage/devices/postgres/storage.go
diff --git a/clientapi/auth/storage/devices/sqlite3/devices_table.go b/userapi/storage/devices/sqlite3/devices_table.go
index 07ea5dca..07ea5dca 100644
--- a/clientapi/auth/storage/devices/sqlite3/devices_table.go
+++ b/userapi/storage/devices/sqlite3/devices_table.go
diff --git a/clientapi/auth/storage/devices/sqlite3/storage.go b/userapi/storage/devices/sqlite3/storage.go
index f248abda..f248abda 100644
--- a/clientapi/auth/storage/devices/sqlite3/storage.go
+++ b/userapi/storage/devices/sqlite3/storage.go
diff --git a/clientapi/auth/storage/devices/storage.go b/userapi/storage/devices/storage.go
index d0d20342..e094d202 100644
--- a/clientapi/auth/storage/devices/storage.go
+++ b/userapi/storage/devices/storage.go
@@ -19,9 +19,9 @@ package devices
import (
"net/url"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices/postgres"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices/sqlite3"
"github.com/matrix-org/dendrite/internal/sqlutil"
+ "github.com/matrix-org/dendrite/userapi/storage/devices/postgres"
+ "github.com/matrix-org/dendrite/userapi/storage/devices/sqlite3"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/clientapi/auth/storage/devices/storage_wasm.go b/userapi/storage/devices/storage_wasm.go
index e32471d8..a5a515ef 100644
--- a/clientapi/auth/storage/devices/storage_wasm.go
+++ b/userapi/storage/devices/storage_wasm.go
@@ -18,8 +18,8 @@ import (
"fmt"
"net/url"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices/sqlite3"
"github.com/matrix-org/dendrite/internal/sqlutil"
+ "github.com/matrix-org/dendrite/userapi/storage/devices/sqlite3"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/userapi/userapi.go b/userapi/userapi.go
index 961d04fe..7aadec06 100644
--- a/userapi/userapi.go
+++ b/userapi/userapi.go
@@ -16,12 +16,12 @@ package userapi
import (
"github.com/gorilla/mux"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/internal/config"
"github.com/matrix-org/dendrite/userapi/api"
"github.com/matrix-org/dendrite/userapi/internal"
"github.com/matrix-org/dendrite/userapi/inthttp"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
)
diff --git a/userapi/userapi_test.go b/userapi/userapi_test.go
index 509bdd7e..163b10ec 100644
--- a/userapi/userapi_test.go
+++ b/userapi/userapi_test.go
@@ -8,13 +8,13 @@ import (
"testing"
"github.com/gorilla/mux"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/accounts"
- "github.com/matrix-org/dendrite/clientapi/auth/storage/devices"
"github.com/matrix-org/dendrite/internal/httputil"
"github.com/matrix-org/dendrite/internal/test"
"github.com/matrix-org/dendrite/userapi"
"github.com/matrix-org/dendrite/userapi/api"
"github.com/matrix-org/dendrite/userapi/inthttp"
+ "github.com/matrix-org/dendrite/userapi/storage/accounts"
+ "github.com/matrix-org/dendrite/userapi/storage/devices"
"github.com/matrix-org/gomatrixserverlib"
)