Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neil Alexander
element-android
Commits
0f8a6415
Commit
0f8a6415
authored
May 10, 2021
by
Onuray Sahin
Browse files
Code review fixes.
parent
e74f4d57
Changes
3
Hide whitespace changes
Inline
Side-by-side
matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/profile/ProfileService.kt
View file @
0f8a6415
...
...
@@ -66,7 +66,7 @@ interface ProfileService {
/**
* Get the combined profile information for this user.
* This may return keys which are not limited to displayname or avatar_url.
* If server is configured as limit_profile_requests_to_users_who_share_rooms: true then response
will
be HTTP 403.
* If server is configured as limit_profile_requests_to_users_who_share_rooms: true then response
can
be HTTP 403.
* @param userId the userId param to look for
*
*/
...
...
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/profile/ProfileAPI.kt
View file @
0f8a6415
...
...
@@ -33,7 +33,7 @@ internal interface ProfileAPI {
* Get the combined profile information for this user.
* This API may be used to fetch the user's own profile information or other users; either locally or on remote homeservers.
* This API may return keys which are not limited to displayname or avatar_url.
* If server is configured as limit_profile_requests_to_users_who_share_rooms: true then response
will
be HTTP 403.
* If server is configured as limit_profile_requests_to_users_who_share_rooms: true then response
can
be HTTP 403.
* @param userId the user id to fetch profile info
*/
@GET
(
NetworkConstants
.
URI_API_PREFIX_PATH_R0
+
"profile/{userId}"
)
...
...
vector/src/main/java/im/vector/app/features/userdirectory/UserListViewModel.kt
View file @
0f8a6415
...
...
@@ -141,7 +141,7 @@ class UserListViewModel @AssistedInject constructor(@Assisted initialState: User
// In this case allow inviting valid user ids.
User
(
userId
=
search
,
displayName
=
search
,
displayName
=
null
,
avatarUrl
=
null
).
toOptional
()
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment