session-ios/SignalServiceKit/src
Michael Kirk b79244affa Don't enqueue sender read receipts from self-sent messages
These messages are always already read.

Reminder, there are two types of read receipts:

1. One informs our linked devices that we've read a message on another
device.
2. The other informs the sender that we've read their message.

This change is about the latter, we'll continue to send the former to
ourself.

The proximate cause for this change was a failing assert in
OWSMessageSender#handleSendToMyself:(TSOutgoingMessage *)outgoingMessage

The assert was failing because we were sending a message to ourself
which had no body or attachment (the sender-read receipt). Rather than
filtering them out from the message sender, we should never ask the
message sender to do nonsense work (send a senderReadReceipt to ourself)

// FREEBIE
2018-02-23 13:50:40 -05:00
..
Account Aggressively nag iOS 8 users to upgrade iOS. 2018-02-14 14:15:23 -05:00
Contacts Merge branch 'hotfix/2.19.7' 2018-02-16 10:49:52 -05:00
Devices Don't create redundant caption for sync'd transcripts. 2018-02-14 09:03:55 -08:00
Messages Don't enqueue sender read receipts from self-sent messages 2018-02-23 13:50:40 -05:00
Network Improve logging around network activity. 2018-02-20 10:07:09 -05:00
Protocols Fix "unknown attachment" notifications 2017-09-29 15:57:54 -04:00
Security Respond to CR. 2018-02-09 10:42:25 -05:00
Storage Flush writes from other processes. 2018-02-22 11:46:08 -05:00
Util Add comment. 2018-02-21 16:18:10 -05:00
TextSecureKitEnv.h Move profile manager to Signal. 2017-08-04 09:45:33 -04:00
TextSecureKitEnv.m Fix issues around statics. 2017-12-07 12:34:02 -05:00
TSConstants.h remove unused code 2017-12-04 12:50:28 -05:00
TSPrefix.h Retain changes from session database branch. 2018-01-10 12:18:23 -05:00