Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blurried profile pic in audio messages (Whatsapp Web Beta) #191

Open
macmessa opened this issue Jul 21, 2021 · 11 comments
Open

Blurried profile pic in audio messages (Whatsapp Web Beta) #191

macmessa opened this issue Jul 21, 2021 · 11 comments
Labels
bug Something isn't working

Comments

@macmessa
Copy link

  • Browser:
    Google Chrome
  • WhatsApp Web version:
    2.2126.14
  • Dark-WhatsApp version:
    3.7.0
  • Additional context:
    Blurried profile pic in audio messages.
  • Screenshot:
    5WWYNSop6O
@macmessa macmessa added the bug Something isn't working label Jul 21, 2021
@vednoc
Copy link
Owner

vednoc commented Jul 21, 2021

Same version, yet I can't reproduce the issue. Do you have any of the configuration options enabled? I tried the ones that are relevant, but to no avail.

@macmessa
Copy link
Author

Yes, sorry I forgot to mention:

wQMqzbdER6

@vednoc
Copy link
Owner

vednoc commented Jul 21, 2021

Here's what it's like on my end. The image above is affected by this option, but contact images aren't. There's also this line that specifically says to avoid adding blur to avatars. To avoid confusion, lines 1667–1668 are obsolete and should be removed. It might be fixed if you reinstall it (click on install badge then on reinstall button), but that would be very weird.

dwa-blur-bug.mp4

@macmessa
Copy link
Author

That's odd... In my debug I got these styles in the avatar:

image

I've also seen the lines you mentioned, maybe the classes in my Whatsapp are messed up?

image

@vednoc
Copy link
Owner

vednoc commented Jul 21, 2021

I apologize for late reply.

Those lines were added 12 months ago. Line 1656 was added 8 months ago and it resolved the issue with a better selector, but I forgot to remove the obsolete code. It makes no sense to me why it doesn't work. There's some kind of conflict somewhere. Maybe, just maybe, you have an old version of Dark-WhatsApp that's still active. I'm mentioning this because it did happen a few times in the past.

The classes are indeed messed up. What you could do is replace img._2goTk with them, but keep in mind that this will disable auto-update and you'll have to reinstall or force an update and override your changes when I release a new version. If that works, I could add that fix and release it. If not, and do try this first, change it to img[src*='/pp?'] because it's a better selector.

@macmessa
Copy link
Author

Don't worry, it's not that big deal, I've just reported in case you didn't see it.
I'm not sure but I think it's my whatsapp web that is generating other styles since stylus just use them, maybe I'll try your approach and create a pull request after testing it.

@vednoc
Copy link
Owner

vednoc commented Jul 22, 2021

Do let me know how it goes. Every once in a while some weirdness like this happens. It happened at least a dozen times with Dark-WhatsApp. Also, here's what the HTML looks like on my end:

image

@macmessa
Copy link
Author

Wow, it's worse than I thought, here's mine:

image

Even the image url is different.
Are you using Whatsapp Web Beta, that allows multi devices connected?

@vednoc
Copy link
Owner

vednoc commented Jul 22, 2021

The URL has Facebook-like scheme. Are you by chance using "Messenger Rooms" feature? That said, this is likely going to fix it:

-                img:not([src*='/pp?']) {
+                img:not([src*='/pp?']):not(src*='pps.whatsapp.net') {

Are you using Whatsapp Web Beta, that allows multi devices connected?

No. I have a "frozen" account because I stopped using WA quite a while ago. The only reason I still use it is to maintain this userstyle.

@kyle-ds
Copy link
Contributor

kyle-ds commented Oct 4, 2021

@macmessa I just signed up for beta... my icon doesn't change when I click on it... did I miss something?

@macmessa
Copy link
Author

macmessa commented Oct 5, 2021

Idk, mine still has the same behavior
3dtmdNoaBI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants