stuff
This commit is contained in:
parent
8fbb65e404
commit
b717f474ec
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
|||
class EditChannels {
|
||||
getName () {return "EditChannels";}
|
||||
|
||||
getVersion () {return "3.9.4";}
|
||||
getVersion () {return "3.9.5";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -364,7 +364,7 @@ class EditChannels {
|
|||
let channel_id = BDFDB.getReactValue(instance, "props.channelId") || BDFDB.getReactValue(instance, "_reactInternalFiber.return.memoizedProps.channelId");
|
||||
if (channel_id) {
|
||||
let channelname = wrapper.querySelector(BDFDB.dotCN.channelheaderheaderbartitle);
|
||||
channelname = channelname.firstElementChild ? wrapper.querySelector(BDFDB.dotCN.channelheaderchannelname) : channelname;
|
||||
channelname = channelname && channelname.firstElementChild ? wrapper.querySelector(BDFDB.dotCN.channelheaderchannelname) : channelname;
|
||||
if (channelname) {
|
||||
let channel = this.ChannelUtils.getChannel(channel_id);
|
||||
if (channel) {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
class EditUsers {
|
||||
getName () {return "EditUsers";}
|
||||
|
||||
getVersion () {return "3.3.6";}
|
||||
getVersion () {return "3.3.7";}
|
||||
|
||||
getAuthor () {return "DevilBro";}
|
||||
|
||||
|
@ -638,7 +638,8 @@ class EditUsers {
|
|||
processHeaderBar (instance, wrapper) {
|
||||
let channel_id = BDFDB.getReactValue(instance, "_reactInternalFiber.return.memoizedProps.channelId");
|
||||
if (channel_id) {
|
||||
let username = wrapper.querySelector(BDFDB.dotCN.channelheaderchannelname);
|
||||
let username = wrapper.querySelector(BDFDB.dotCN.channelheaderheaderbartitle);
|
||||
username = username && username.firstElementChild ? wrapper.querySelector(BDFDB.dotCN.channelheaderchannelname) : username;
|
||||
if (username) {
|
||||
let channel = this.ChannelUtils.getChannel(channel_id);
|
||||
if (channel) {
|
||||
|
|
Loading…
Reference in New Issue