Skip to content

Commit

Permalink
Merge pull request #651 from sbalgas/patch-3
Browse files Browse the repository at this point in the history
Fix onGetGroupMessage event
  • Loading branch information
shirioko committed Mar 29, 2014
2 parents 86270aa + 06031fe commit 349d6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/php/whatsprot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,7 @@ protected function processInboundDataNode(ProtocolNode $node, $autoReceipt = tru
$this->newMsgBind->process($node);
}
if ($node->getAttribute("type") == "text" && $node->getChild('body') != null) {
$author = $node->getAttribute("author");
$author = $node->getAttribute("participant");
if($author == "")
{
//private chat message
Expand Down

0 comments on commit 349d6cd

Please sign in to comment.