Skip to content

Commit

Permalink
Fix guest avatar.
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
  • Loading branch information
Ivansss committed Sep 19, 2017
1 parent 18651b9 commit bcbc315
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/views/participantview.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@
if (element.data('displayname').length) {
element.avatar(element.data('user-id'), 32, undefined, false, undefined, element.data('displayname'));
} else {
element.avatar(null, 32);
element.imageplaceholder('?', undefined, 32);
element.css('background-color', '#b9b9b9');
}
});

Expand Down

0 comments on commit bcbc315

Please sign in to comment.