Update EditUsers.plugin.js

This commit is contained in:
Mirco Wittrien 2020-01-08 09:40:17 +01:00
parent 5603209ad6
commit bb7673375c
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
class EditUsers {
getName () {return "EditUsers";}
getVersion () {return "3.6.7";}
getVersion () {return "3.6.8";}
getAuthor () {return "DevilBro";}
@ -618,7 +618,7 @@ class EditUsers {
if (channel.type == 1) this.changeName(BDFDB.LibraryModules.UserStore.getUser(channel.recipients[0]), channelname);
else {
if (channelname.EditUsersChangeObserver && typeof channelname.EditUsersChangeObserver.disconnect == "function") channelname.EditUsersChangeObserver.disconnect();
if (BDFDB.BDUtils.isPluginEnabled("EditChannels")) BDFDB.BDUtils.getPlugin("EditChannels").changeChannel(channel, channelname);
if (BDFDB.BDUtils.isPluginEnabled("EditChannels")) {}
else {
channelname.style.removeProperty("color");
channelname.style.removeProperty("background");