mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-31 11:32:00 +00:00
use the parameter, mate... just do it
This commit is contained in:
parent
3ea3fadff2
commit
654af51f3f
@ -165,9 +165,6 @@ public class ApiUtils {
|
||||
}
|
||||
|
||||
public static String getUrlForAvatarWithName(String baseUrl, String name, @DimenRes int avatarSize) {
|
||||
avatarSize = Math.round(NextcloudTalkApplication
|
||||
.getSharedApplication().getResources().getDimension(R.dimen.avatar_size));
|
||||
|
||||
return baseUrl + "/index.php/avatar/" + Uri.encode(name) + "/" + avatarSize;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user