mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-25 10:04:23 +01:00
@@ -129,7 +129,7 @@ public class LegacyGroupStore {
|
||||
|
||||
public record Storage(@JsonDeserialize(using = GroupsDeserializer.class) List<Record> groups) {
|
||||
|
||||
private record GroupV1(
|
||||
public record GroupV1(
|
||||
String groupId,
|
||||
String expectedV2Id,
|
||||
String name,
|
||||
@@ -140,9 +140,9 @@ public class LegacyGroupStore {
|
||||
@JsonDeserialize(using = MembersDeserializer.class) List<Member> members
|
||||
) {
|
||||
|
||||
private record Member(Long recipientId, String uuid, String number) {}
|
||||
public record Member(Long recipientId, String uuid, String number) {}
|
||||
|
||||
private record JsonRecipientAddress(String uuid, String number) {}
|
||||
public record JsonRecipientAddress(String uuid, String number) {}
|
||||
|
||||
private static class MembersDeserializer extends JsonDeserializer<List<Member>> {
|
||||
|
||||
@@ -168,7 +168,7 @@ public class LegacyGroupStore {
|
||||
}
|
||||
}
|
||||
|
||||
private record GroupV2(
|
||||
public record GroupV2(
|
||||
String groupId,
|
||||
String masterKey,
|
||||
String distributionId,
|
||||
|
||||
@@ -111,5 +111,5 @@ public class LegacyIdentityKeyStore {
|
||||
}
|
||||
}
|
||||
|
||||
private record IdentityStorage(String identityKey, int trustLevel, long addedTimestamp) {}
|
||||
public record IdentityStorage(String identityKey, int trustLevel, long addedTimestamp) {}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ public class LegacyStickerStore {
|
||||
|
||||
public record Storage(List<Sticker> stickers) {
|
||||
|
||||
private record Sticker(String packId, String packKey, boolean installed) {
|
||||
public record Sticker(String packId, String packKey, boolean installed) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user