aboutsummaryrefslogtreecommitdiff
path: root/clientapi
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi')
-rw-r--r--clientapi/api/api.go4
-rw-r--r--clientapi/auth/auth.go4
-rw-r--r--clientapi/auth/authtypes/flow.go4
-rw-r--r--clientapi/auth/authtypes/membership.go4
-rw-r--r--clientapi/auth/authtypes/profile.go4
-rw-r--r--clientapi/auth/authtypes/threepid.go4
-rw-r--r--clientapi/auth/login.go4
-rw-r--r--clientapi/auth/login_application_service.go4
-rw-r--r--clientapi/auth/login_test.go4
-rw-r--r--clientapi/auth/login_token.go4
-rw-r--r--clientapi/auth/password.go4
-rw-r--r--clientapi/auth/user_interactive.go4
-rw-r--r--clientapi/clientapi.go4
-rw-r--r--clientapi/httputil/httputil.go4
-rw-r--r--clientapi/httputil/parse.go4
-rw-r--r--clientapi/producers/syncapi.go4
-rw-r--r--clientapi/routing/account_data.go4
-rw-r--r--clientapi/routing/admin_whois.go4
-rw-r--r--clientapi/routing/aliases.go4
-rw-r--r--clientapi/routing/auth_fallback.go4
-rw-r--r--clientapi/routing/capabilities.go4
-rw-r--r--clientapi/routing/createroom.go4
-rw-r--r--clientapi/routing/device.go4
-rw-r--r--clientapi/routing/directory.go4
-rw-r--r--clientapi/routing/directory_public.go4
-rw-r--r--clientapi/routing/joined_rooms.go4
-rw-r--r--clientapi/routing/joinroom.go4
-rw-r--r--clientapi/routing/key_backup.go4
-rw-r--r--clientapi/routing/key_crosssigning.go4
-rw-r--r--clientapi/routing/keys.go4
-rw-r--r--clientapi/routing/leaveroom.go4
-rw-r--r--clientapi/routing/login.go4
-rw-r--r--clientapi/routing/logout.go4
-rw-r--r--clientapi/routing/membership.go4
-rw-r--r--clientapi/routing/memberships.go4
-rw-r--r--clientapi/routing/notification.go4
-rw-r--r--clientapi/routing/openid.go4
-rw-r--r--clientapi/routing/peekroom.go4
-rw-r--r--clientapi/routing/presence.go4
-rw-r--r--clientapi/routing/profile.go4
-rw-r--r--clientapi/routing/pusher.go4
-rw-r--r--clientapi/routing/receipt.go4
-rw-r--r--clientapi/routing/redaction.go4
-rw-r--r--clientapi/routing/register.go4
-rw-r--r--clientapi/routing/register_test.go4
-rw-r--r--clientapi/routing/report_event.go4
-rw-r--r--clientapi/routing/room_hierarchy.go4
-rw-r--r--clientapi/routing/room_tagging.go4
-rw-r--r--clientapi/routing/routing.go4
-rw-r--r--clientapi/routing/sendevent.go4
-rw-r--r--clientapi/routing/sendtodevice.go4
-rw-r--r--clientapi/routing/sendtyping.go4
-rw-r--r--clientapi/routing/server_notices.go4
-rw-r--r--clientapi/routing/state.go4
-rw-r--r--clientapi/routing/thirdparty.go4
-rw-r--r--clientapi/routing/threepid.go4
-rw-r--r--clientapi/routing/upgrade_room.go4
-rw-r--r--clientapi/routing/userdirectory.go4
-rw-r--r--clientapi/routing/voip.go4
-rw-r--r--clientapi/routing/whoami.go4
-rw-r--r--clientapi/threepid/invites.go4
-rw-r--r--clientapi/threepid/threepid.go4
-rw-r--r--clientapi/userutil/userutil.go4
-rw-r--r--clientapi/userutil/userutil_test.go4
64 files changed, 128 insertions, 128 deletions
diff --git a/clientapi/api/api.go b/clientapi/api/api.go
index ccda80e9..5e3247f1 100644
--- a/clientapi/api/api.go
+++ b/clientapi/api/api.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package api
diff --git a/clientapi/auth/auth.go b/clientapi/auth/auth.go
index c1225a91..c32ed0fa 100644
--- a/clientapi/auth/auth.go
+++ b/clientapi/auth/auth.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
// Package auth implements authentication checks and storage.
package auth
diff --git a/clientapi/auth/authtypes/flow.go b/clientapi/auth/authtypes/flow.go
index 3dc1bba6..0f5d536a 100644
--- a/clientapi/auth/authtypes/flow.go
+++ b/clientapi/auth/authtypes/flow.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Andrew Morgan <andrew@amorgan.xyz>
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package authtypes
diff --git a/clientapi/auth/authtypes/membership.go b/clientapi/auth/authtypes/membership.go
index 7ce12250..cf21453e 100644
--- a/clientapi/auth/authtypes/membership.go
+++ b/clientapi/auth/authtypes/membership.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package authtypes
diff --git a/clientapi/auth/authtypes/profile.go b/clientapi/auth/authtypes/profile.go
index 00709719..9d162fb2 100644
--- a/clientapi/auth/authtypes/profile.go
+++ b/clientapi/auth/authtypes/profile.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package authtypes
diff --git a/clientapi/auth/authtypes/threepid.go b/clientapi/auth/authtypes/threepid.go
index ff41c025..1d7653d6 100644
--- a/clientapi/auth/authtypes/threepid.go
+++ b/clientapi/auth/authtypes/threepid.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package authtypes
diff --git a/clientapi/auth/login.go b/clientapi/auth/login.go
index 051668f2..3502cdec 100644
--- a/clientapi/auth/login.go
+++ b/clientapi/auth/login.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package auth
diff --git a/clientapi/auth/login_application_service.go b/clientapi/auth/login_application_service.go
index 28291dcb..97424241 100644
--- a/clientapi/auth/login_application_service.go
+++ b/clientapi/auth/login_application_service.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2023 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package auth
diff --git a/clientapi/auth/login_test.go b/clientapi/auth/login_test.go
index f304a09e..617348f7 100644
--- a/clientapi/auth/login_test.go
+++ b/clientapi/auth/login_test.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package auth
diff --git a/clientapi/auth/login_token.go b/clientapi/auth/login_token.go
index 7b2e79c4..c46680a4 100644
--- a/clientapi/auth/login_token.go
+++ b/clientapi/auth/login_token.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package auth
diff --git a/clientapi/auth/password.go b/clientapi/auth/password.go
index b7960a50..aab94821 100644
--- a/clientapi/auth/password.go
+++ b/clientapi/auth/password.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package auth
diff --git a/clientapi/auth/user_interactive.go b/clientapi/auth/user_interactive.go
index 44d213b7..cc5fbfbe 100644
--- a/clientapi/auth/user_interactive.go
+++ b/clientapi/auth/user_interactive.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package auth
diff --git a/clientapi/clientapi.go b/clientapi/clientapi.go
index 54c53d40..dbf862ca 100644
--- a/clientapi/clientapi.go
+++ b/clientapi/clientapi.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package clientapi
diff --git a/clientapi/httputil/httputil.go b/clientapi/httputil/httputil.go
index 7ec931e8..8e22bbcb 100644
--- a/clientapi/httputil/httputil.go
+++ b/clientapi/httputil/httputil.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package httputil
diff --git a/clientapi/httputil/parse.go b/clientapi/httputil/parse.go
index 4eb7fb05..8ceadcf0 100644
--- a/clientapi/httputil/parse.go
+++ b/clientapi/httputil/parse.go
@@ -1,7 +1,7 @@
// Copyright 2024 New Vector Ltd.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package httputil
diff --git a/clientapi/producers/syncapi.go b/clientapi/producers/syncapi.go
index 9451e5b2..330a1685 100644
--- a/clientapi/producers/syncapi.go
+++ b/clientapi/producers/syncapi.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package producers
diff --git a/clientapi/routing/account_data.go b/clientapi/routing/account_data.go
index d222187a..4fc19134 100644
--- a/clientapi/routing/account_data.go
+++ b/clientapi/routing/account_data.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/admin_whois.go b/clientapi/routing/admin_whois.go
index 20e0f5d7..cd1a8d2f 100644
--- a/clientapi/routing/admin_whois.go
+++ b/clientapi/routing/admin_whois.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 David Spenler
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/aliases.go b/clientapi/routing/aliases.go
index 808bb559..448df8a6 100644
--- a/clientapi/routing/aliases.go
+++ b/clientapi/routing/aliases.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/auth_fallback.go b/clientapi/routing/auth_fallback.go
index e43a3d85..713b0bab 100644
--- a/clientapi/routing/auth_fallback.go
+++ b/clientapi/routing/auth_fallback.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2019 Parminder Singh <parmsingh129@gmail.com>
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/capabilities.go b/clientapi/routing/capabilities.go
index aef41d31..157d2bd2 100644
--- a/clientapi/routing/capabilities.go
+++ b/clientapi/routing/capabilities.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/createroom.go b/clientapi/routing/createroom.go
index a1d3c383..dfc15173 100644
--- a/clientapi/routing/createroom.go
+++ b/clientapi/routing/createroom.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/device.go b/clientapi/routing/device.go
index 6383b621..9b059469 100644
--- a/clientapi/routing/device.go
+++ b/clientapi/routing/device.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Paul Tötterman <paul.totterman@iki.fi>
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/directory.go b/clientapi/routing/directory.go
index 27bd8e9f..ef8e3075 100644
--- a/clientapi/routing/directory.go
+++ b/clientapi/routing/directory.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/directory_public.go b/clientapi/routing/directory_public.go
index e6ec2642..9a30b85b 100644
--- a/clientapi/routing/directory_public.go
+++ b/clientapi/routing/directory_public.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/joined_rooms.go b/clientapi/routing/joined_rooms.go
index 030766d3..88b65089 100644
--- a/clientapi/routing/joined_rooms.go
+++ b/clientapi/routing/joined_rooms.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2022 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/joinroom.go b/clientapi/routing/joinroom.go
index ffa05b65..30cb3233 100644
--- a/clientapi/routing/joinroom.go
+++ b/clientapi/routing/joinroom.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/key_backup.go b/clientapi/routing/key_backup.go
index c2460d4a..69619cff 100644
--- a/clientapi/routing/key_backup.go
+++ b/clientapi/routing/key_backup.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/key_crosssigning.go b/clientapi/routing/key_crosssigning.go
index 69d8a3d9..e6f093b5 100644
--- a/clientapi/routing/key_crosssigning.go
+++ b/clientapi/routing/key_crosssigning.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/keys.go b/clientapi/routing/keys.go
index 11e901de..0a8b4e68 100644
--- a/clientapi/routing/keys.go
+++ b/clientapi/routing/keys.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/leaveroom.go b/clientapi/routing/leaveroom.go
index b39814ba..753e7322 100644
--- a/clientapi/routing/leaveroom.go
+++ b/clientapi/routing/leaveroom.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/login.go b/clientapi/routing/login.go
index 8e4dfc5b..442719a1 100644
--- a/clientapi/routing/login.go
+++ b/clientapi/routing/login.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/logout.go b/clientapi/routing/logout.go
index a29d9d8f..74f6b28d 100644
--- a/clientapi/routing/logout.go
+++ b/clientapi/routing/logout.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/membership.go b/clientapi/routing/membership.go
index a46f6d6b..c2b26d08 100644
--- a/clientapi/routing/membership.go
+++ b/clientapi/routing/membership.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/memberships.go b/clientapi/routing/memberships.go
index 90ca86e3..6c6e3d89 100644
--- a/clientapi/routing/memberships.go
+++ b/clientapi/routing/memberships.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2024 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/notification.go b/clientapi/routing/notification.go
index 82b49920..ebc8f814 100644
--- a/clientapi/routing/notification.go
+++ b/clientapi/routing/notification.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 Dan Peleg <dan@globekeeper.com>
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/openid.go b/clientapi/routing/openid.go
index 774cf0a8..4ff40b43 100644
--- a/clientapi/routing/openid.go
+++ b/clientapi/routing/openid.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/peekroom.go b/clientapi/routing/peekroom.go
index 71232b35..9b6699b0 100644
--- a/clientapi/routing/peekroom.go
+++ b/clientapi/routing/peekroom.go
@@ -1,7 +1,7 @@
// Copyright 2020-2024 New Vector Ltd.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/presence.go b/clientapi/routing/presence.go
index bb2ae735..55282c3f 100644
--- a/clientapi/routing/presence.go
+++ b/clientapi/routing/presence.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2022 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/profile.go b/clientapi/routing/profile.go
index ab770866..b75d38a6 100644
--- a/clientapi/routing/profile.go
+++ b/clientapi/routing/profile.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/pusher.go b/clientapi/routing/pusher.go
index ea1b5f60..39646393 100644
--- a/clientapi/routing/pusher.go
+++ b/clientapi/routing/pusher.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2021 Dan Peleg <dan@globekeeper.com>
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/receipt.go b/clientapi/routing/receipt.go
index d03f43e7..403949eb 100644
--- a/clientapi/routing/receipt.go
+++ b/clientapi/routing/receipt.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/redaction.go b/clientapi/routing/redaction.go
index c354ef37..795b311b 100644
--- a/clientapi/routing/redaction.go
+++ b/clientapi/routing/redaction.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/register.go b/clientapi/routing/register.go
index 63e310f7..5544dccd 100644
--- a/clientapi/routing/register.go
+++ b/clientapi/routing/register.go
@@ -2,8 +2,8 @@
// Copyright 2017 Vector Creations Ltd
// Copyright 2017 New Vector Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/register_test.go b/clientapi/routing/register_test.go
index 2d793049..71cc0ca6 100644
--- a/clientapi/routing/register_test.go
+++ b/clientapi/routing/register_test.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Andrew Morgan <andrew@amorgan.xyz>
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/report_event.go b/clientapi/routing/report_event.go
index 3e48edbb..dbeb345f 100644
--- a/clientapi/routing/report_event.go
+++ b/clientapi/routing/report_event.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2023 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/room_hierarchy.go b/clientapi/routing/room_hierarchy.go
index 2eef5347..c8f33550 100644
--- a/clientapi/routing/room_hierarchy.go
+++ b/clientapi/routing/room_hierarchy.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2023 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/room_tagging.go b/clientapi/routing/room_tagging.go
index 110f86d1..191cf133 100644
--- a/clientapi/routing/room_tagging.go
+++ b/clientapi/routing/room_tagging.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2019 Sumukha PK
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/routing.go b/clientapi/routing/routing.go
index f4a641b9..d72638ee 100644
--- a/clientapi/routing/routing.go
+++ b/clientapi/routing/routing.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/sendevent.go b/clientapi/routing/sendevent.go
index 00c6c036..a1a0300d 100644
--- a/clientapi/routing/sendevent.go
+++ b/clientapi/routing/sendevent.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/sendtodevice.go b/clientapi/routing/sendtodevice.go
index 8ff7b75c..9068625f 100644
--- a/clientapi/routing/sendtodevice.go
+++ b/clientapi/routing/sendtodevice.go
@@ -1,7 +1,7 @@
// Copyright 2024 New Vector Ltd.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/sendtyping.go b/clientapi/routing/sendtyping.go
index 4f26f805..5aa5c969 100644
--- a/clientapi/routing/sendtyping.go
+++ b/clientapi/routing/sendtyping.go
@@ -1,7 +1,7 @@
// Copyright 2024 New Vector Ltd.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/server_notices.go b/clientapi/routing/server_notices.go
index 91e64c95..84615867 100644
--- a/clientapi/routing/server_notices.go
+++ b/clientapi/routing/server_notices.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2022 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/state.go b/clientapi/routing/state.go
index 21fa0847..d702fd3b 100644
--- a/clientapi/routing/state.go
+++ b/clientapi/routing/state.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/thirdparty.go b/clientapi/routing/thirdparty.go
index 20ce2056..83d491d9 100644
--- a/clientapi/routing/thirdparty.go
+++ b/clientapi/routing/thirdparty.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2022 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/threepid.go b/clientapi/routing/threepid.go
index 2f429752..2fee21b9 100644
--- a/clientapi/routing/threepid.go
+++ b/clientapi/routing/threepid.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/upgrade_room.go b/clientapi/routing/upgrade_room.go
index 51d611a9..d71cdeaf 100644
--- a/clientapi/routing/upgrade_room.go
+++ b/clientapi/routing/upgrade_room.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2022 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/userdirectory.go b/clientapi/routing/userdirectory.go
index f7d56820..c46fc5a2 100644
--- a/clientapi/routing/userdirectory.go
+++ b/clientapi/routing/userdirectory.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2020 The Matrix.org Foundation C.I.C.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/voip.go b/clientapi/routing/voip.go
index c603d264..24f68029 100644
--- a/clientapi/routing/voip.go
+++ b/clientapi/routing/voip.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Michael Telatysnki <7t3chguy@gmail.com>
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/routing/whoami.go b/clientapi/routing/whoami.go
index 57e702b6..2b0bf52a 100644
--- a/clientapi/routing/whoami.go
+++ b/clientapi/routing/whoami.go
@@ -1,7 +1,7 @@
// Copyright 2024 New Vector Ltd.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package routing
diff --git a/clientapi/threepid/invites.go b/clientapi/threepid/invites.go
index 6d875eef..f32b7848 100644
--- a/clientapi/threepid/invites.go
+++ b/clientapi/threepid/invites.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package threepid
diff --git a/clientapi/threepid/threepid.go b/clientapi/threepid/threepid.go
index 16ee9370..3cf69c34 100644
--- a/clientapi/threepid/threepid.go
+++ b/clientapi/threepid/threepid.go
@@ -1,8 +1,8 @@
// Copyright 2024 New Vector Ltd.
// Copyright 2017 Vector Creations Ltd
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package threepid
diff --git a/clientapi/userutil/userutil.go b/clientapi/userutil/userutil.go
index d931cd43..c4a01383 100644
--- a/clientapi/userutil/userutil.go
+++ b/clientapi/userutil/userutil.go
@@ -1,7 +1,7 @@
// Copyright 2024 New Vector Ltd.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package userutil
diff --git a/clientapi/userutil/userutil_test.go b/clientapi/userutil/userutil_test.go
index 757c9c1f..f6c34e5e 100644
--- a/clientapi/userutil/userutil_test.go
+++ b/clientapi/userutil/userutil_test.go
@@ -1,7 +1,7 @@
// Copyright 2024 New Vector Ltd.
//
-// SPDX-License-Identifier: AGPL-3.0-only
-// Please see LICENSE in the repository root for full details.
+// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
+// Please see LICENSE files in the repository root for full details.
package userutil