Fixes a bug when there is no active speaker currently.
This commit is contained in:
parent
1d0b4d0ecb
commit
5b9b45c91b
|
@ -129,7 +129,7 @@ var Avatar = (function(my) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getGravatarUrl(id, size) {
|
function getGravatarUrl(id, size) {
|
||||||
if(id === connection.emuc.myroomjid) {
|
if(id === connection.emuc.myroomjid || !id) {
|
||||||
id = SettingsMenu.getUID();
|
id = SettingsMenu.getUID();
|
||||||
}
|
}
|
||||||
return 'https://www.gravatar.com/avatar/' +
|
return 'https://www.gravatar.com/avatar/' +
|
||||||
|
|
Loading…
Reference in New Issue