Disable read receipts for groups.

This commit is contained in:
Mikunj 2019-08-22 16:00:35 +10:00
parent 39177fe448
commit 6463187c0d
1 changed files with 3 additions and 0 deletions

View File

@ -177,6 +177,9 @@ NSString *const kOutgoingReadReceiptManagerCollection = @"kOutgoingReadReceiptMa
// If we aren't friends with the user then don't send out any receipts
if (thread.friendRequestStatus != LKThreadFriendRequestStatusFriends) { continue; }
// Don't send any receipts for groups
if (thread.isGroupThread) { continue; }
OWSReceiptsForSenderMessage *message;
NSString *receiptName;
switch (receiptType) {