Update OwnerTag.plugin.js

This commit is contained in:
Mirco Wittrien 2020-08-11 17:00:48 +02:00
parent dd972b63e0
commit bad24e9dac
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ var OwnerTag = (_ => {
}
processMemberListItem (e) {
let userType = this.getUserType(e.instance.props.user, e.instance.props.channel.id);
let userType = this.getUserType(e.instance.props.user, e.instance.props.channel && e.instance.props.channel.id);
if (userType && settings.addInMemberList) {
this.injectOwnerTag(BDFDB.ReactUtils.getValue(e.returnvalue, "props.decorators.props.children"), e.instance.props.user, userType, 1, {
tagClass: BDFDB.disCN.bottagmember