Show notifications for group creates.

fork-5.53.8
Greyson Parrelli 2021-05-24 14:44:11 -04:00
rodzic 1fad5e2c1e
commit 513e5b45c5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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 {