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
Image message in group not recognized as group message sometimes #181
Comments
Thanks for reporting @quaqo . This looks serious if it happened to more than one person. Will work look into it asap.
Already working on it
Oh, will try to reproduce that.
Thanks a lot! Will get back to you 😊 |
Thanks to you for being so proactive. Unfortunately I haven't got much time on my hand right now, I wish I could be of more help with a patch. |
Really appreciate it! 😊 I found the issue. Updating it now. Hopefully, Google play deploys it fast enough before any serious damage is done. |
…Apps-empty Include WhatsApp when empty -- #181
I saw the commit. Good eye, but I don't think it was my issue. I didn't upgrade from the old schema. And I also tried a fresh install. I enabled a json collector for the notifications so I can give you examples of when it doesn't work, I'll let it run for 24 hrs and report back! |
Oh! What I fixed is also an issue. I could reproduce that on my VM after some testing. For fresh install, does it not reply to any message? or is it missing once in a while? |
Every once in a while. I think that sometimes a group notification from WhatsApp comes without the group tag at first and then gets updated. This seems to happen consistently for me with picture messages in groups. Watomatic doesn't see that is a group and replies. It would be again very handy to have access to the message log database for debug purposes. Otherwise I'll build a modified apk when I'll have time. Thanks! |
Thats a very good insight. This probably explains it. As of now it just checks if the notification object has
Thanks a lot! @spuday90 is also working on implementing local debug logs. He already did some work in #175 for some ad-hoc testing which is not useful for us yet. But he is working on logging all the events. Will ping you when there is an update there. Thank you 😊 |
FYI, if you want to parse it (I think it would be wise, even though as you said it may go wrong...), from my notification logs, the same message with picture (which seems that is the only type that sometimes doesn't get assigned a isGroup immediately) can appear as:
As you see, depending of what you parse (ticker, title, text, summary and isgroup) you have different formats:
Let me know if this makes sense. Also thanks to @spuday90 for local debug logs. |
Hi @quaqo, thanks for the detailed description. Its making a lot sense. We will check more conditions to decide it's a group reply or individual. |
@quaqo those logs are very useful! Thanks a lot for that. Yeah, just title many not be of much use but agree we can parse rest of those to decide if it is a group or not. Also, this happened to me today for personal chat too. My reply frequency was set to 1 day but it replied the second time within a few minutes when the message is an image. Will work on fixing this ASAP. |
Hi there. Any updates on this? I partially re-created the logic of Watomatic in Tasker, and found that I can safely consider every notification coming from "com.whatsapp" with a ":" in either title or text as a group message. |
Hi 👋😊 |
I'm currently AFK and can't compile anything, I do have my second phone thou: are you able to provide me with an APK that I can install? |
Awesome! Thanks a lot! 😃 Github is not allowing me to attach the apk here. Sharing it here: https://transfer.sh/SH8zC/watomatic-issue181-release.apk |
Already saw the commit, thanks. I'll sideload it ASAP and test it. Thanks! |
@adeekshith sorry for getting back so late: I had work-related unforeseen issues. I saw you committed the patch, anyways I wanted to chime in anyways and confirm it seems to work on my end! Thank you for fixing it! |
@quaqo Oh no probs at all. Thanks a lot for helping to debug and confirming. Planning to release this today and should be available on Play store in 3 to 4 days 😃 |
@adeekshith unfortunately in the last 2 days it happened again. So this has to be reopen. What happens is that like I mentioned here:
sometimes the title is "Person @ Group". Your patch looks at Of the group messages that were answered, both were pictures, but the title was "Person @ Group". So I think the check should be changed in something like:
|
Hi @quaqo, |
Thanks to you! |
Hi there. Any update on this? |
Hi @quaqo Will get to it this week. This is not happening on any of the device that I have access to so that caused the delay too.
|
As I found in this reddit thread, I also experience the same issue.
Since today the app stopped working.
May I suggest a switch to enable a local logcat that we can share as users?
I also encountered another bug (which I'll report when I can reproduce, basically: if the group switch is off, but someone sends a picture to a group as the first message, this gets autoreplied).
If you need more info, please ask. I'm on 1.10, I'll try as soon as I can with 1.11 on my other device with LineageOS (where I can access more data).
The text was updated successfully, but these errors were encountered: