fixed #137
This commit is contained in:
parent
aac70a1083
commit
3fee55ea1a
2 changed files with 3 additions and 3 deletions
|
@ -225,7 +225,7 @@
|
|||
#pragma mark Keyboard delegate methods
|
||||
|
||||
- (IBAction)sendPost:(NSControl *)control {
|
||||
if ([[control stringValue] length] <= MESSAGE_MAX_LENGTH) {
|
||||
if ([[control stringValue] length] <= MESSAGE_MAX_LENGTH && [[control stringValue] length] > 0) {
|
||||
PostModel *post = [[[PostModel alloc] init] autorelease];
|
||||
post.text = [control stringValue];
|
||||
post.inReplyTostatusId = inReplyTostatusId;
|
||||
|
|
Reference in a new issue