Fixes a bug when there is no active speaker currently.

This commit is contained in:
fo 2014-11-27 18:27:31 +02:00
parent 1d0b4d0ecb
commit 5b9b45c91b
1 changed files with 1 additions and 1 deletions

View File

@ -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/' +