Fixes a bug when there is no active speaker currently.

pull/201/merge
fo 11 years ago
parent 1d0b4d0ecb
commit 5b9b45c91b
  1. 2
      avatar.js

@ -129,7 +129,7 @@ var Avatar = (function(my) {
}
function getGravatarUrl(id, size) {
if(id === connection.emuc.myroomjid) {
if(id === connection.emuc.myroomjid || !id) {
id = SettingsMenu.getUID();
}
return 'https://www.gravatar.com/avatar/' +

Loading…
Cancel
Save