mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-08 20:28:33 +00:00
Only show profile updates in active groups.
This commit is contained in:
parent
f9642dd79f
commit
698618a4b3
@ -653,8 +653,10 @@ public class SmsDatabase extends MessagingDatabase {
|
||||
try {
|
||||
threadIdsToUpdate.add(threadDatabase.getThreadIdFor(recipient.getId()));
|
||||
for (GroupDatabase.GroupRecord groupRecord : groupRecords) {
|
||||
if (groupRecord.isActive()) {
|
||||
threadIdsToUpdate.add(threadDatabase.getThreadIdFor(groupRecord.getRecipientId()));
|
||||
}
|
||||
}
|
||||
|
||||
Stream.of(threadIdsToUpdate)
|
||||
.withoutNulls()
|
||||
|
Loading…
x
Reference in New Issue
Block a user