mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Don't store default values of group blocked/permissionDenied
This commit is contained in:
parent
baed2b7ead
commit
dc2470d046
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
package org.asamk.signal.manager.storage.groups;
|
package org.asamk.signal.manager.storage.groups;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||||
import com.fasterxml.jackson.core.JsonGenerator;
|
import com.fasterxml.jackson.core.JsonGenerator;
|
||||||
import com.fasterxml.jackson.core.JsonParser;
|
import com.fasterxml.jackson.core.JsonParser;
|
||||||
import com.fasterxml.jackson.databind.DeserializationContext;
|
import com.fasterxml.jackson.databind.DeserializationContext;
|
||||||
|
@ -341,7 +342,11 @@ public class GroupStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
private record GroupV2(
|
private record GroupV2(
|
||||||
String groupId, String masterKey, String distributionId, boolean blocked, boolean permissionDenied
|
String groupId,
|
||||||
|
String masterKey,
|
||||||
|
String distributionId,
|
||||||
|
@JsonInclude(JsonInclude.Include.NON_DEFAULT) boolean blocked,
|
||||||
|
@JsonInclude(JsonInclude.Include.NON_DEFAULT) boolean permissionDenied
|
||||||
) {}
|
) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue