Update FriendNotifications.plugin.js
This commit is contained in:
parent
84533d4b30
commit
304d9147cf
|
@ -2,7 +2,7 @@
|
|||
* @name FriendNotifications
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.7.9
|
||||
* @version 1.8.0
|
||||
* @description Shows a Notification when a Friend or a User, you choose to observe, changes their Status
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -17,7 +17,7 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "FriendNotifications",
|
||||
"author": "DevilBro",
|
||||
"version": "1.7.9",
|
||||
"version": "1.8.0",
|
||||
"description": "Shows a Notification when a Friend or a User, you choose to observe, changes their Status"
|
||||
},
|
||||
"changeLog": {
|
||||
|
@ -736,7 +736,7 @@ module.exports = (_ => {
|
|||
}
|
||||
|
||||
processGuilds (e) {
|
||||
console.log(e);
|
||||
if (!this.settings.general.addOnlineCount) return;
|
||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "UnreadDMs"});
|
||||
if (index > -1) children.splice(index, 0, BDFDB.ReactUtils.createElement(FriendOnlineCounterComponent, {
|
||||
amount: this.getOnlineCount()
|
||||
|
|
Loading…
Reference in New Issue