Load photos of LDAP-based address books in listing

Fixes #3942
This commit is contained in:
Francis Lachapelle committed 2016-12-15 10:19:47 -05:00
1 parent 15a3bf48d9
commit 651c0fdf14
4 files changed
+22

No files matched your search

@@ -152,6 +152,8 @@
Card.$Preferences.avatar(this.$$email, 32, {no_404: true}).then(function(url) {
_this.$$image = url;
});
if (this.hasphoto)
this.photoURL = Card.$$resource.path(this.pid, this.id, 'photo');
if (this.isgroup)
this.c_component = 'vlist';
this.$avatarIcon = this.$isList()? 'group' : 'person';