Only show profile updates in active groups.

master
Cody Henthorne 2020-07-17 15:18:54 -04:00 committed by Greyson Parrelli
parent f9642dd79f
commit 698618a4b3
1 changed files with 3 additions and 1 deletions

View File

@ -653,7 +653,9 @@ public class SmsDatabase extends MessagingDatabase {
try {
threadIdsToUpdate.add(threadDatabase.getThreadIdFor(recipient.getId()));
for (GroupDatabase.GroupRecord groupRecord : groupRecords) {
threadIdsToUpdate.add(threadDatabase.getThreadIdFor(groupRecord.getRecipientId()));
if (groupRecord.isActive()) {
threadIdsToUpdate.add(threadDatabase.getThreadIdFor(groupRecord.getRecipientId()));
}
}
Stream.of(threadIdsToUpdate)