pubnub / pubnub-angular

Official PubNub AngularJS SDK
Other
84 stars 43 forks source link

Modified _ngFireMessages to pass on the start / end token #14

Closed petersow closed 8 years ago

petersow commented 9 years ago

We're trying to implement functionality that chunks history calls to get a large amount of history a piece at a time. We also want to implement infinite scrolling on a list that is backed by pubnub data.

It seems impossible to meet either of these use cases without knowing the end time token from the pubnub history call.

In this PR I have extended _ngFireMessages to pass on the t1, t2 tokens, in case listeners need to use them.

MaxPresman commented 8 years ago

Closing this PR as a new version of the SDK has been released