Skip to content

Commit

Permalink
Fixed sendGetServerProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
shirioko committed Mar 25, 2014
1 parent 7c54059 commit 2356370
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/php/whatsprot.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -797,12 +797,11 @@ public function sendGetRequestLastSeen($to)
*/
public function sendGetServerProperties()
{
$child = new ProtocolNode("props", array(
"xmlns" => "w"
), null, null);
$child = new ProtocolNode("props", null, null, null);
$node = new ProtocolNode("iq", array(
"id" => $this->createMsgId("getproperties"),
"type" => "get",
"xmlns" => "w",
"to" => "s.whatsapp.net"
), array($child), null);
$this->sendNode($node);
Expand Down

0 comments on commit 2356370

Please sign in to comment.