fixed problem with reply ids
This commit is contained in:
parent
e58d1ef140
commit
4ddfc7d47d
3 changed files with 10 additions and 4 deletions
|
@ -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:
|
||||
|
|
4
OAuth.m
4
OAuth.m
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
Reference in a new issue