mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 16:49:40 +01:00
Add the ability to migrate GV1 groups to GV2.
Co-authored-by: Alan Evans <alan@signal.org>
This commit is contained in:
committed by
Alan Evans
parent
2d1bf33902
commit
6bb9d27d4e
@@ -94,7 +94,7 @@ class EditPushGroupProfileRepository implements EditProfileRepository {
|
||||
|
||||
@WorkerThread
|
||||
private RecipientId getRecipientId() {
|
||||
return DatabaseFactory.getRecipientDatabase(context).getByGroupId(groupId.toString())
|
||||
return DatabaseFactory.getRecipientDatabase(context).getByGroupId(groupId)
|
||||
.or(() -> {
|
||||
throw new AssertionError("Recipient ID for Group ID does not exist.");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user