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

Commit

Permalink
getConversation initialize offset
Browse files Browse the repository at this point in the history
  • Loading branch information
mgp25 committed Jul 25, 2015
1 parent 28f0c40 commit 2a0685b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/snapchat.php
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@ public function sendMessage($tos, $text){

public function getConversations()
{
$offset = null;
$updates = $this->getUpdates();
$last = end($updates['data']->conversations_response);
if (isset($last->iter_token))
Expand Down

0 comments on commit 2a0685b

Please sign in to comment.