Ensure we properly detect update messages for migrations.

This commit is contained in:
Greyson Parrelli
2020-11-20 11:39:55 -05:00
committed by GitHub
parent 2ff3d1b7c5
commit 28511de23c
2 changed files with 13 additions and 0 deletions

View File

@@ -163,6 +163,10 @@ public class SignalServiceDataMessage {
!hasRenderableContent();
}
public boolean isEmptyGroupV2Message() {
return isGroupV2Message() && !isGroupV2Update() && !hasRenderableContent();
}
/** Contains some user data that affects the conversation */
public boolean hasRenderableContent() {
return attachments.isPresent() ||