hoehermann / purple-gowhatsapp

Pidgin/libpurple plug-in for WhatsApp Web.
GNU General Public License v3.0
290 stars 34 forks source link

(Only) one group chat unavailable in Pidgin #190

Open brianjmurrell opened 9 months ago

brianjmurrell commented 9 months ago

Hi. Using this plugin with generally pretty good results.

I do have a one group chat though that I can receive messages in but not send any. In the tab for the chat the name is surrounded in brackets () which usually means the chat is unavailable. I usually only see this when the account is disconnected but this account is connected and I can send and receive messages with all other contacts and group chats.

When this happens, I can close the tab and reopen it and the chat is once again available to send messages.

hoehermann commented 9 months ago

Thank you for the report. That is indeed a weird issue.

One of the core problems is that Pidgin 2 is designed for a different age of communication and disagrees with the WhatsApp way of doing things in many regards. For example, you enter a group chat if you click on it in the Buddy list and you would leave it if you close the conversation window. Obviously, leaving the group on window close is something we do not want, so I have to work around Pidgin here and there. As a result, Pidgin and WhatsApp may disagree whether the user is currently participating in a particular group chat or not.

Since only one group chat of yours is affected, and I do not have access to that specific group, successfully reproducing the behaviour on my machine for debugging purposes seems unlikely. 🫤

hoehermann commented 7 months ago

Multiple persons worked on something similar in #193. Does the current nightly improve the situation for you, too?

brianjmurrell commented 7 months ago

Does the current nightly improve the situation for you, too?

Is that built from dev? I build from git FWIW, so I can test anything you want to push.

hoehermann commented 7 months ago

Is that built from dev?

I boldly put that into the default "whatsmeow" branch.

I build from git FWIW, so I can test anything you want to push.

That is great. I cannot spend much time on doing actual tests so I am grateful for anyone who does and can provide meaningful feedback. :)

brianjmurrell commented 7 months ago

Is that built from dev?

I boldly put that into the default "whatsmeow" branch.

:-)

But it's not in dev? Is dev not currently everything in whatsmeow plus perhaps some additional work?

I can certainly switch to the whatsmeow branch if that's the best place to be right now.

hoehermann commented 7 months ago

Is dev not currently everything in whatsmeow plus perhaps some additional work?

I am not very disciplined in keeping the dev branch updated. I think it does not even exist right now. 😬 I use it for highly volatile "does this thing work now" changes and only push onto it occasionally.

brianjmurrell commented 7 months ago

OK. I will switch to the whatsmeow branch then, yes?

hoehermann commented 7 months ago

That is reasonable, yes.