CroissantDuNord / discord-adblock

Hide Ads For Discord Nitro, with CustomCSS
MIT License
35 stars 4 forks source link

Message requests are hidden. #12

Closed Ph42oN closed 5 months ago

Ph42oN commented 7 months ago

In direct messages, it appears below nitro and above shop if someone sends me message request. With this adblock looks like it hides message requests when it should be hiding shop, as shop appeared there when i got message request.

CroissantDuNord commented 7 months ago

Fixed, in last commit

Ph42oN commented 7 months ago

While this change fixes it while i have message request, it works incorrectly when i dont have one. In that situation, instead of hiding shop it hides first user from my direct messages. Looking at code, it seems like it needs something else to detect what to hide. nth-of-type(3) is right when there is no message request and nth-of-type(4) is right when there is message request.

FridgeRacer commented 6 months ago

Are you able to confirm if this is still an issue? I can't reproduce this with the current rules, since we target the store and nitro tabs directly.

Ph42oN commented 6 months ago

Can't check it now because someone needs to send message request to see it.

Ph42oN commented 5 months ago

Looks like this is not happening anymore.