Commit 0f8a6415 authored by Onuray Sahin's avatar Onuray Sahin
Browse files

Code review fixes.

parent e74f4d57
......@@ -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
*
*/
......
......@@ -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}")
......
......@@ -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()
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment