Skip to content

Commit

Permalink
Fixes issue where unreadMessageCount was incremented when composing…
Browse files Browse the repository at this point in the history
… a new message.

When user starts composing a message, now marking it as `sentByUser` and `seenByUser`
Fixes #70
Fixes IOS-310
  • Loading branch information
pkamb committed Nov 20, 2013
1 parent 767a329 commit 7b80707
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ - (void)messageInputViewDidChange:(ATMessageInputView *)anInputView {
if (!composingMessage) {
composingMessage = (ATTextMessage *)[ATData newEntityNamed:@"ATTextMessage"];
[composingMessage setup];
composingMessage.sentByUser = @YES;
composingMessage.seenByUser = @YES;
}
} else {
if (composingMessage) {
Expand Down

0 comments on commit 7b80707

Please sign in to comment.