Support for sending to group chats #55

wants to merge 1 commit into


None yet
7 participants

jorams commented Sep 15, 2012

I've added support for sending messages to group chats.
The JID for group chats consists of the JID of the group owner, followed by a hyphen and an id. The server for group chats is '' instead of ''.

My change checks for the existance of a hyphen to determine whether the recipient is a group chat. If so, it uses '' as the server.

In case this is not known: The easiest way to find the JID for a group chat is to find the profile image in /sdcard/WhatsApp/Profile Pictures. The JID is the name of the image. (Without the extension of course)

patschi commented Sep 16, 2012

Won't work for me... Tried all combinations - The group didn't got any message...


arthursc commented Sep 16, 2012

No problems here.

Don't forget to remove the from the to address (if you're using the from value from a received message in the group).

need add the if on protected function SendMessageNode

yairnet commented Sep 23, 2012

need add the if on protected function SendMessageNode
work good :O

anyone has idea how to create a new group ?

kirthar referenced this pull request Oct 10, 2012


Send simple text #108

shargon commented Jan 4, 2013

All Is working ;)


shirioko commented Jan 4, 2013

I think they already figured that out when they closed the issue 3 months ago...

jorams closed this May 31, 2013


shirioko commented May 31, 2013

You can always open a pull request to my repo, venomous0x is kind of AWOL... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment