fixed problem with reply ids

This commit is contained in:
Jeena Paradies 2010-05-03 09:41:59 +02:00
parent e58d1ef140
commit 4ddfc7d47d
3 changed files with 10 additions and 4 deletions

View file

@ -12,7 +12,7 @@
@implementation Controller
@synthesize timelineView, timelineViewWindow, mentionsView, mentionsViewWindow, globalHotkeyMenuItem, viewDelegate, oauth;
@synthesize timelineView, timelineViewWindow, mentionsView, mentionsViewWindow, globalHotkeyMenuItem, viewDelegate, oauth, logoLayer;
- (void)awakeFromNib {
@ -168,7 +168,7 @@
- (IBAction)sendTweet:(id)sender {
[oauth updateTweet:[[sender object] objectAtIndex:0]
inReplaToStatus:[[sender object] objectAtIndex:1]];
inReplaToStatus:[NSString stringWithFormat:@"%d", [[sender object] objectAtIndex:1]]];
/*
NSString *encodedString = [[[sender object] objectAtIndex:0] stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
[timelineView stringByEvaluatingJavaScriptFromString:

View file

@ -138,8 +138,8 @@
//[self requestAccessTokenWithPIN:self];
//[twitterPINPanel makeKeyAndOrderFront:self];
//NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@?oauth_token=%@", OAUTH_USER_AUTHORIZATION_URL, requestToken.key]];
//s[[NSWorkspace sharedWorkspace] openURL:url];
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"%@?oauth_token=%@", OAUTH_USER_AUTHORIZATION_URL, requestToken.key]];
[[NSWorkspace sharedWorkspace] openURL:url];
}
- (void)updateTweet:(NSString *)tweet inReplaToStatus:(NSString *)statusId {

View file

@ -12,6 +12,12 @@
</head>
<body>
<h1>Twittia 2.2.0</h1>
<p>Added icon</p>
<p>Now with OAuth</p>
<hr />
<h1>Twittia 2.1.1</h1>
<p>Added possibility to change the hotkey in defaults.</p>
<p>Added a notice to the timeline window how many unread mentions there are.</p>