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

Fix "Unknown Chat Group" In WhatsApp For iOS #947

Open
wants to merge 773 commits into
base: master
Choose a base branch
from

Conversation

SikiFn
Copy link
Contributor

@SikiFn SikiFn commented Sep 10, 2014

Sending the "to" attribute as "broadcast" only will cause the WhatsApp For iOS to misbehave when receiving a new message.
This is a temporary fix.

shirioko and others added 30 commits December 6, 2013 10:46
added onGetGroupMessage
Use ContactSyncV2 instead.
Explicitly Define WhatsAppEvents & Add Beginning of Testing Framework
cusued by using reset(explode($foo, $bar))
And replaced key generation with a pre calculated key to remove
overhead.
Allow callback to be a string for backwards compatibility & added test c...
mgp25 and others added 26 commits August 12, 2014 19:38
Now broadcast media knowing only size and hash
new ping request from server is like this

```<iq from="s.whatsapp.net" id="1405327577-ping" type="get" xmlns="urn:xmpp:ping"></iq>```
If number add to group
profile picture update notification node now without message node
new group name update notification is like this
                    rx  <notification from="[email protected]" id="894086480" participant="[email protected]" type="subject" t="1407815452" notify="Ardian Yuli">
                    rx    <body>New Group Name</body>
                    rx  </notification>
use pollMessage() instead
FAK U GIT
I'm checking this feature on my project
another addition to notification node
Update User Agent and WhatsApp verson
Sending the "to" attribute as "broadcast" only will cause the WhatsApp For iOS to misbehave when receiving a new message.
This is a temporary fix.
@dennobaby
Copy link

Maybe it would be good to sniff how the real client do this? I does not think it would be so great to simply add some random numbers?

@SikiFn
Copy link
Contributor Author

SikiFn commented Sep 18, 2014

As I explained above:

  • WhatsApp saves your broadcast list in the database as [Current Timestamp]@broadcast (e.g: 1408570072@broadcast). The [Current Timestamp] is the timestamp when the broadcast list is created.
  • When you change your phone and re-register to WhatsApp, the broadcast lists you already created will be synced to the new phone and they will be saved with the [New Current Timestamp], not the same as the time stamp when the group is created. For this reason, I don't think that the name of the broadcast list is saved on WhatsApp server, but the contacts in the broadcast list itself are saved there with some unique identifier, maybe..

@hubail hubail force-pushed the master branch 2 times, most recently from d56e5ea to e6cf5a5 Compare May 3, 2015 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.