aboutsummaryrefslogtreecommitdiff
path: root/appservice/api/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'appservice/api/query.go')
-rw-r--r--appservice/api/query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/appservice/api/query.go b/appservice/api/query.go
index cf25a961..6db8be85 100644
--- a/appservice/api/query.go
+++ b/appservice/api/query.go
@@ -84,7 +84,7 @@ func RetrieveUserProfile(
ctx context.Context,
userID string,
asAPI AppServiceQueryAPI,
- profileAPI userapi.UserProfileAPI,
+ profileAPI userapi.ClientUserAPI,
) (*authtypes.Profile, error) {
localpart, _, err := gomatrixserverlib.SplitID('@', userID)
if err != nil {