mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Update group table schema to support GV1->GV2 migration.
Also puts in protections to make sure we don't insert bad recipients or groups.
This commit is contained in:
committed by
Alan Evans
parent
985a220fca
commit
2d1bf33902
@@ -202,7 +202,7 @@ public final class GroupManager {
|
||||
public static void updateSelfProfileKeyInGroup(@NonNull Context context, @NonNull GroupId.V2 groupId)
|
||||
throws IOException, GroupChangeBusyException, GroupInsufficientRightsException, GroupNotAMemberException, GroupChangeFailedException
|
||||
{
|
||||
if (!DatabaseFactory.getGroupDatabase(context).findGroup(groupId)) {
|
||||
if (!DatabaseFactory.getGroupDatabase(context).groupExists(groupId)) {
|
||||
Log.i(TAG, "Group is not available locally " + groupId);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user