Skip to content
This repository was archived by the owner on Dec 16, 2020. It is now read-only.

Commit 4c85707

Browse files
committed
timestamp fix
Fixes #212
1 parent 5dcce35 commit 4c85707

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/snapchat.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,6 @@ public function sendMessage($tos, $text)
988988
}
989989
if(count($messagesArray) <= 0) return null;
990990
$messages = json_encode($messagesArray);
991-
$timestamp = parent::timestamp();
992991
$result = parent::post(
993992
'/loq/conversation_post_messages',
994993
array(
@@ -2547,8 +2546,8 @@ public function deleteStory($storyId)
25472546
'/bq/delete_story',
25482547
array(
25492548
'story_id' => $storyId,
2550-
'username' => $this->username,
2551-
'timestamp' => $timestamp
2549+
'username' => $this->username,
2550+
'timestamp' => $timestamp
25522551
),
25532552
array(
25542553
$this->auth_token,

0 commit comments

Comments
 (0)