Show notifications for group creates.

This commit is contained in:
Greyson Parrelli
2021-05-24 14:44:11 -04:00
parent 1fad5e2c1e
commit 513e5b45c5

View File

@@ -408,7 +408,7 @@ public final class GroupsV2StateProcessor {
Log.d(TAG, "Skipping profile key changes only update message");
} else {
boolean insert = true;
if (entry.getChange() != null && DecryptedGroupUtil.changeIsEmpty(entry.getChange())) {
if (entry.getChange() != null && DecryptedGroupUtil.changeIsEmpty(entry.getChange()) && previousGroupState != null) {
if (FeatureFlags.internalUser()) {
Log.w(TAG, "Empty group update message seen. Inserting anyway.");
} else {