Ferdi: WhatsApp Notification count not working.

Created on 13 Jun 2020  路  11Comments  路  Source: getferdi/ferdi

" are comments from us and won't be
visible in your bug report, so please don't put any text in them.
-->
Bug description:
WhatsApp notification count not working on the sidebar, I do get notifications though.

Steps to reproduce:
Add WhatsApp and then get someone to message you.

Expected behavior
Notification count to show.

Screenshots
image

Environment:

  • Operating System: Windows 10 1909
  • Ferdi Version: 5.5.0 (x64)
  • Server: Ferdi Self Hosted
bug

Most helpful comment

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.88. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 11 comments

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.88. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Oh also the notification comes through without any profile picture or whatsapp Icon. Not sure which its suppose to have.
image

This is also happening to me.
MacOS High Sierra 10.13.6
Ferdi 5.5.0 (5.5.0.2116)

Same here:
MacOS Catalina 10.15.1
Version 5.5.0 (5.5.0.2116)

Win10 5.5.0 as well

A fix has been put up here - https://github.com/getferdi/recipes/pull/206. Till it gets merged, go to your whatsapp recipe's webview.js and change the following line of code -
const elements = document.querySelectorAll("[class=OUeyt]");
to
const elements = document.querySelectorAll("[class=_31gEB]");

This issue has been automatically marked as stale because it has not had recent activity. Please check if this issue is still relevant and please close it if it's not. This will make sure that our open issues are actually of use and reduce the list of obsolete issues. Thank you for your contributions.

Same happening here 5.5.0 macOS Mojave. WhatsApp notifications come through but no badge appears in the Ferdi sidebar.

@patrickrushton

See post by mahadevans87, that fixes it but I've also noticed the WhatsApp profile photos don't show either when the notification comes through.

I have the same problem

Hey all, so it wasn't working for me initially (am using Windows 10 Version 2004), but I decided to use Franz's implementation for their Whatsapp recipe in webview.js. So similarly, replace
const elements = document.querySelectorAll("[class=OUeyt]");
with
const elements = document.querySelectorAll('.CxUIE, .unread, ._0LqQ, .m61XR .ZKn2B ');

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sbienkow picture sbienkow  路  3Comments

yourcontact picture yourcontact  路  3Comments

YourWishes picture YourWishes  路  3Comments

idonthaveanametoday picture idonthaveanametoday  路  3Comments

PeSader picture PeSader  路  3Comments