fixed problem with in replay ids

This commit is contained in:
Jeena Paradies 2011-01-10 17:01:06 +01:00
parent 57d8c5f9ff
commit 7b4adc0f63
31 changed files with 578 additions and 491 deletions

View file

@ -8,6 +8,7 @@
#import "Controller.h"
#import "MyDocument.h"
#import "TweetModel.h"
@implementation Controller
@ -170,14 +171,8 @@
}
- (IBAction)sendTweet:(id)sender {
NSString *replyToId;
if (![[[sender object] objectAtIndex:1] isEqualTo:@""]) {
replyToId = [[[sender object] objectAtIndex:1] stringValue];
}
[oauth updateTweet:[[sender object] objectAtIndex:0] inReplaToStatus:replyToId];
TweetModel *tweet = (TweetModel *)[sender object];
[oauth updateTweet:tweet.text inReplaToStatus:tweet.inReplyTostatusId];
}
- (NSString *)pluginURL {