Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #166 from wertarbyte/fix_RequestLastSeen

add missing msgid parameters to RequestLastSeen
  • Loading branch information...
commit 61080085cfd99813c27f36d11de3e526bb1d4f15 2 parents ecb3de3 + cdaaf77
Venomous Committer veno authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 tests/whatsapp.php
5 tests/whatsapp.php
View
@@ -78,7 +78,7 @@ function fgets_u($pStdn) {
break;
case "/lastseen":
echo "[] Request last seen $dst: ";
- $wa->RequestLastSeen("$dst");
+ $wa->RequestLastSeen(time()."-1", "$dst");
break;
default:
echo "[] Send message to $dst: $line\n";
@@ -108,9 +108,10 @@ function fgets_u($pStdn) {
}
echo "\n[] Request last seen $dst: ";
-$wa->RequestLastSeen($dst);
+$wa->RequestLastSeen(time()."-1", $dst);
echo "\n[] Send message to $dst: $msg\n";
$wa->Message(time()."-1", $dst , $msg);
echo "\n";
+
?>
Please sign in to comment.
Something went wrong with that request. Please try again.