Adapt message requests to support invite flow.

This commit is contained in:
Alan Evans
2020-05-12 15:09:47 -03:00
committed by Alex Hart
parent d3d53e6099
commit eff564ad88
13 changed files with 169 additions and 33 deletions

View File

@@ -603,6 +603,11 @@ public class Recipient {
return groupId != null && groupId.isPush();
}
public boolean isPushV1Group() {
GroupId groupId = resolve().groupId;
return groupId != null && groupId.isV1();
}
public boolean isPushV2Group() {
GroupId groupId = resolve().groupId;
return groupId != null && groupId.isV2();