mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 07:37:29 +00:00
Fix issue with group storage IDs.
This commit is contained in:
@@ -117,7 +117,17 @@ public final class StorageSyncHelper {
|
||||
|
||||
for (RecipientSettings insert : inserts) {
|
||||
storageInserts.add(StorageSyncModels.localToRemoteRecord(insert, archivedRecipients));
|
||||
completeIds.add(StorageId.forContact(insert.getStorageId()));
|
||||
|
||||
switch (insert.getGroupType()) {
|
||||
case NONE:
|
||||
completeIds.add(StorageId.forContact(insert.getStorageId()));
|
||||
break;
|
||||
case SIGNAL_V1:
|
||||
completeIds.add(StorageId.forGroupV1(insert.getStorageId()));
|
||||
break;
|
||||
default:
|
||||
throw new AssertionError("Unsupported type!");
|
||||
}
|
||||
}
|
||||
|
||||
if (accountInsert.isPresent()) {
|
||||
|
Reference in New Issue
Block a user