From 297dfab2b57a00a7a40328d68af30dc6b32d3320 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 30 Jan 2014 17:52:24 +0400 Subject: fix loading next messages --- Juick/Juick-Info.plist | 4 ++-- Juick/MessagesViewController.m | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Juick/Juick-Info.plist b/Juick/Juick-Info.plist index f780290..06e7432 100644 --- a/Juick/Juick-Info.plist +++ b/Juick/Juick-Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0.6 + 1.0.7 CFBundleSignature ???? CFBundleVersion - 1.0.6 + 1.0.7 LSApplicationCategoryType public.app-category.social-networking LSRequiresIPhoneOS diff --git a/Juick/MessagesViewController.m b/Juick/MessagesViewController.m index 64d7106..6930de8 100644 --- a/Juick/MessagesViewController.m +++ b/Juick/MessagesViewController.m @@ -77,7 +77,7 @@ static NSString *CellIdentifier = @"MessageCell"; Message * lastMessage = [self.messages lastObject]; if (lastMessage != nil) { - [self.params setValue:lastMessage.MID forKey:@"before_mid"]; + [self.params setObject:lastMessage.MID forKey:@"before_mid"]; } [Message pullNextFromPath:self.path params:self.params callback:^(NSArray *next) { dispatch_async(dispatch_get_main_queue(), ^{ -- cgit v1.2.3