Fix: not receiving group deliveries

Previously we were using the wrong method - the local user's id is removed
from group.recipientIdentifiers
pull/1/head
Michael Kirk 7 years ago
parent c0991fce74
commit b96e9a6a82

@ -400,7 +400,7 @@ NS_ASSUME_NONNULL_BEGIN
if (groupThread) { if (groupThread) {
if (dataMessage.group.type != SSKProtoGroupContextTypeUpdate) { if (dataMessage.group.type != SSKProtoGroupContextTypeUpdate) {
if (![groupThread.recipientIdentifiers containsObject:[TSAccountManager localNumber]]) { if (![groupThread.groupModel.groupMemberIds containsObject:[TSAccountManager localNumber]]) {
DDLogInfo(@"%@ Ignoring messages for left group.", self.logTag); DDLogInfo(@"%@ Ignoring messages for left group.", self.logTag);
return; return;
} }

Loading…
Cancel
Save