Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
overtake committed Apr 8, 2016
1 parent fafa2c0 commit 8ea7b0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TelegramTest/TGProccessUpdates.m
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ -(void)updateDifference:(BOOL)force updateConnectionState:(BOOL)updateConnection

_holdUpdates = YES;

if( !_updateState || force || _updateState.pts == INT32_MAX) {
if( !_updateState || force || _updateState.pts == INT32_MAX || _updateState.pts == 0) {

[RPCRequest sendRequest:[TLAPI_updates_getState create] successHandler:^(RPCRequest *request, TL_updates_state * state) {

Expand Down
2 changes: 1 addition & 1 deletion TelegramTest/TGUpdateState.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ -(id)initWithPts:(int)pts qts:(int)qts date:(int)date seq:(int)seq pts_count:(in
_date = date;
_seq = seq;

self.checkMinimum = YES;
_checkMinimum = YES;
}

return self;
Expand Down

0 comments on commit 8ea7b0d

Please sign in to comment.