Skip to content

Commit

Permalink
Merge pull request venomous0x#782 from mgp25/patch-5
Browse files Browse the repository at this point in the history
Olala
Fixes venomous0x#777
  • Loading branch information
shirioko committed Jun 14, 2014
2 parents 5bf4081 + f6a822c commit bd705db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/php/whatsprot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1882,6 +1882,16 @@ protected function processInboundDataNode(ProtocolNode $node, $autoReceipt = tru
$node->getAttribute('class')
);
}
elseif($node->getTag() == 'receipt')
{
$this->eventManager()->fireMessageReceivedClient(
$this->phoneNumber,
$node->getAttribute('from'),
$node->getAttribute('id'),
$node->getAttribute('class'),
$node->getAttribute('t')
);
}
if ($node->getTag() == "message") {
array_push($this->messageQueue, $node);

Expand Down

0 comments on commit bd705db

Please sign in to comment.