fixes
This commit is contained in:
parent
0f33f09690
commit
cd1c67e5b9
|
@ -3,7 +3,7 @@
|
||||||
class EditUsers {
|
class EditUsers {
|
||||||
getName () {return "EditUsers";}
|
getName () {return "EditUsers";}
|
||||||
|
|
||||||
getVersion () {return "3.6.0";}
|
getVersion () {return "3.6.1";}
|
||||||
|
|
||||||
getAuthor () {return "DevilBro";}
|
getAuthor () {return "DevilBro";}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ class EditUsers {
|
||||||
|
|
||||||
constructor () {
|
constructor () {
|
||||||
this.changelog = {
|
this.changelog = {
|
||||||
"fixed":[["RemoveNicknames","Fixed a bug with RemoveNicknames"]]
|
"fixed":[["Profile Pictures","Fixed places where profile pictures weren't changed properly"]]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.labels = {};
|
this.labels = {};
|
||||||
|
@ -655,10 +655,12 @@ class EditUsers {
|
||||||
if (channel && channel.type == 1) user = BDFDB.LibraryModules.UserStore.getUser(channel.recipients[0]);
|
if (channel && channel.type == 1) user = BDFDB.LibraryModules.UserStore.getUser(channel.recipients[0]);
|
||||||
}
|
}
|
||||||
if (user) {
|
if (user) {
|
||||||
let avatar = wrapper.querySelector(BDFDB.dotCN.callavatar);
|
|
||||||
this.changeName2(user, wrapper.parentElement.querySelector(BDFDB.dotCN.callmembers));
|
this.changeName2(user, wrapper.parentElement.querySelector(BDFDB.dotCN.callmembers));
|
||||||
this.changeAvatar(user, avatar);
|
let avatar = this.getAvatarDiv(wrapper);
|
||||||
if (BDFDB.containsClass(avatar, BDFDB.disCN.callvideo)) this.changeTooltip(user, avatar, "left");
|
if (avatar) {
|
||||||
|
this.changeAvatar(user, avatar);
|
||||||
|
if (BDFDB.containsClass(avatar.parentElement, BDFDB.disCN.callvideo)) this.changeTooltip(user, avatar.parentElement, "left");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1110,7 +1112,7 @@ class EditUsers {
|
||||||
wrapper = wrapper.parentElement;
|
wrapper = wrapper.parentElement;
|
||||||
avatar = wrapper.querySelector(this.avatarselector);
|
avatar = wrapper.querySelector(this.avatarselector);
|
||||||
}
|
}
|
||||||
return avatar.firstElementChild || avatar;
|
return avatar.querySelector("img") || avatar.firstElementChild || avatar;
|
||||||
}
|
}
|
||||||
|
|
||||||
getUserData (id, wrapper) {
|
getUserData (id, wrapper) {
|
||||||
|
|
|
@ -725,7 +725,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BOXSHADOW */
|
/* BOXSHADOW */
|
||||||
.callAvatarBorder-1D_KaE.video-3GgX2M.selected-2esnyn:not(.speaking-oCqYMI):not(.soundsharing-102bS9) {
|
.callAvatarBorder-uWp8Ga.video-3SrWSI.selected-2tLJQ6.notSpeaking-a3bIkW.notSoundsharing-2sYlLk {
|
||||||
box-shadow: inset 0 0 0 2px rgb(var(--vaccentcolor)) !important;
|
box-shadow: inset 0 0 0 2px rgb(var(--vaccentcolor)) !important;
|
||||||
}
|
}
|
||||||
.themeBrand-2qTyWV .dismissButton-AdNfLV {
|
.themeBrand-2qTyWV .dismissButton-AdNfLV {
|
||||||
|
|
Loading…
Reference in New Issue