aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/routing.go
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2022-08-12 13:33:31 +0200
committerGitHub <noreply@github.com>2022-08-12 13:33:31 +0200
commitb4647fbb7e36014c01d4ec8a65e2644133103683 (patch)
tree23b91f2dd900006ee6ccdf7849e59886d01781ff /clientapi/routing/routing.go
parent48600d554096d54d12a6d3834f8f5f45506e3026 (diff)
Show/hide users in user directory (#2637)
* CS API changes * Query remote profiles * Add passing tests * Don't create a new FullyQualifiedProfile * Handle sql.ErrNoRows Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'clientapi/routing/routing.go')
-rw-r--r--clientapi/routing/routing.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientapi/routing/routing.go b/clientapi/routing/routing.go
index 2063a008..6904a2b3 100644
--- a/clientapi/routing/routing.go
+++ b/clientapi/routing/routing.go
@@ -935,12 +935,12 @@ func Setup(
return SearchUserDirectory(
req.Context(),
device,
- userAPI,
rsAPI,
userDirectoryProvider,
- cfg.Matrix.ServerName,
postContent.SearchString,
postContent.Limit,
+ federation,
+ cfg.Matrix.ServerName,
)
}),
).Methods(http.MethodPost, http.MethodOptions)