mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 21:15:30 +03:00
Spotbugs prevent NPR deference
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
08936279b6
commit
7b86b02c21
1 changed files with 3 additions and 3 deletions
|
@ -125,9 +125,9 @@ public class AdvancedUserItem extends AbstractFlexibleItem<AdvancedUserItem.User
|
|||
}
|
||||
}
|
||||
|
||||
if (user != null && user.getBaseUrl() != null &&
|
||||
user.getBaseUrl().startsWith("http://") ||
|
||||
user.getBaseUrl().startsWith("https://")) {
|
||||
if (user != null &&
|
||||
user.getBaseUrl() != null &&
|
||||
(user.getBaseUrl().startsWith("http://") || user.getBaseUrl().startsWith("https://"))) {
|
||||
ImageViewExtensionsKt.loadAvatar(holder.binding.userIcon, user, participant.getCalculatedActorId(), true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue