Ignore taps on outgoing messages while they are being sent.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 13f4b0ac63
commit 12e45eaf84

@ -2065,7 +2065,11 @@ typedef enum : NSUInteger {
// We want to activate fullscreen media view for sent items // We want to activate fullscreen media view for sent items
// but not those which failed-to-send // but not those which failed-to-send
break; break;
} else if (outgoingMessage.messageState == TSOutgoingMessageStateAttemptingOut) {
// Ignore taps on outgoing messages being sent.
break;
} }
// No `break` as we want to fall through to capture tapping on Outgoing media items too // No `break` as we want to fall through to capture tapping on Outgoing media items too
} }
case TSIncomingMessageAdapter: { case TSIncomingMessageAdapter: {

Loading…
Cancel
Save