Respond to CR.
// FREEBIE
This commit is contained in:
parent
6d356e4b67
commit
df1b3418d2
@ -635,11 +635,10 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
// Any messages sent from the current user - from this device or another - should be
|
||||
// automatically marked as read.
|
||||
if ([TSAccountManager isRegistered]) {
|
||||
BOOL shouldMarkMessageAsRead = [envelope.source isEqualToString:[TSAccountManager localNumber]];
|
||||
if (shouldMarkMessageAsRead) {
|
||||
[incomingMessage markAsReadLocallyWithTransaction:transaction];
|
||||
}
|
||||
OWSAssert([TSAccountManager isRegistered]);
|
||||
BOOL shouldMarkMessageAsRead = [envelope.source isEqualToString:[TSAccountManager localNumber]];
|
||||
if (shouldMarkMessageAsRead) {
|
||||
[incomingMessage markAsReadLocallyWithTransaction:transaction];
|
||||
}
|
||||
|
||||
// Android allows attachments to be sent with body.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user