Update 0BDFDB.plugin.js

This commit is contained in:
Mirco Wittrien 2022-01-15 13:43:40 +01:00 committed by GitHub
parent 21a6a5b587
commit e1b480d792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8015,7 +8015,7 @@ module.exports = (_ => {
}
if (message) {
e.returnvalue.props.children.props[InternalData.authorIdAttribute] = message.author.id;
if (LibraryModules.RelationshipUtils.isFriend(message.author.id)) e.returnvalue.props.children.props[InternalData.authorFriendAttribute] = true;
if (LibraryModules.RelationshipStore.isFriend(message.author.id)) e.returnvalue.props.children.props[InternalData.authorFriendAttribute] = true;
if (message.author.id == BDFDB.UserUtils.me.id) e.returnvalue.props.children.props[InternalData.authorSelfAttribute] = true;
}
}