Skip to content

Commit

Permalink
update onMessageReceivedClient
Browse files Browse the repository at this point in the history
  • Loading branch information
mgp25 committed Apr 1, 2015
1 parent efe425c commit 5b96432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/events/AllEvents.php
Expand Up @@ -94,7 +94,7 @@ public function onMediaMessageSent($mynumber, $to, $id, $filetype, $url, $filena
public function onMediaUploadFailed($mynumber, $id, $node, $messageNode, $statusMessage) {}
public function onMessageComposing($mynumber, $from, $id, $type, $time) {}
public function onMessagePaused($mynumber, $from, $id, $type, $time) {}
public function onMessageReceivedClient($mynumber, $from, $id, $type, $time) {}
public function onMessageReceivedClient($mynumber, $from, $id, $type, $time, $participant) {}
public function onMessageReceivedServer($mynumber, $from, $id, $type, $time) {}
public function onPaidAccount($mynumber, $author, $kind, $status, $creation, $expiration) {}
public function onPaymentRecieved($mynumber, $kind, $status, $creation, $expiration) {}
Expand Down
3 changes: 2 additions & 1 deletion src/whatsprot.class.php
Expand Up @@ -2665,7 +2665,8 @@ protected function processInboundDataNode(ProtocolNode $node, $autoReceipt = tru
$node->getAttribute('from'),
$child->getAttribute('id'),
$node->getAttribute('type'),
$node->getAttribute('t')
$node->getAttribute('t'),
$node->getAttribute('participant')
));
}
}
Expand Down

0 comments on commit 5b96432

Please sign in to comment.