Read phone number sharing mode from storage

Fixes #755
This commit is contained in:
AsamK 2021-11-10 14:14:19 +01:00
parent 81a11dc977
commit 4baf0849a6
6 changed files with 155 additions and 20 deletions

View file

@ -39,6 +39,10 @@
"allDeclaredFields":true,
"allDeclaredMethods":true}
,
{
"name":"com.google.protobuf.GeneratedMessageLite",
"fields":[{"name":"unknownFields"}]}
,
{
"name":"com.google.protobuf.Internal$LongList",
"allDeclaredMethods":true}
@ -659,13 +663,19 @@
"allDeclaredConstructors":true}
,
{
"name":"org.asamk.signal.manager.configuration.ConfigurationStore$Storage",
"name":"org.asamk.signal.manager.api.PhoneNumberSharingMode",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true}
,
{
"name":"org.asamk.signal.manager.storage.configuration.ConfigurationStore$Storage",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
"queryAllDeclaredConstructors":true,
"methods":[
{"name":"<init>","parameterTypes":["java.lang.Boolean","java.lang.Boolean","java.lang.Boolean","java.lang.Boolean"] },
{"name":"<init>","parameterTypes":["java.lang.Boolean","java.lang.Boolean","java.lang.Boolean","java.lang.Boolean","org.asamk.signal.manager.api.PhoneNumberSharingMode"] },
{"name":"linkPreviews","parameterTypes":[] },
{"name":"phoneNumberSharingMode","parameterTypes":[] },
{"name":"readReceipts","parameterTypes":[] },
{"name":"typingIndicators","parameterTypes":[] },
{"name":"unidentifiedDeliveryIndicators","parameterTypes":[] }
@ -2492,6 +2502,79 @@
{"name":"metadata_"}
]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.AccountRecord",
"allDeclaredFields":true}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.AccountRecord$PinnedConversation",
"fields":[
{"name":"identifierCase_"},
{"name":"identifier_"}
]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.AccountRecord$PinnedConversation$Contact",
"fields":[
{"name":"e164_"},
{"name":"uuid_"}
]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.ContactRecord",
"allDeclaredFields":true}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.GroupV2Record",
"allDeclaredFields":true}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.ManifestRecord",
"fields":[
{"name":"identifiers_"},
{"name":"version_"}
]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.ManifestRecord$Identifier",
"fields":[
{"name":"raw_"},
{"name":"type_"}
]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.Payments",
"allDeclaredFields":true}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.ReadOperation",
"fields":[{"name":"readKey_"}]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.StorageItem",
"fields":[
{"name":"key_"},
{"name":"value_"}
]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.StorageItems",
"fields":[{"name":"items_"}]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.StorageManifest",
"fields":[
{"name":"value_"},
{"name":"version_"}
]}
,
{
"name":"org.whispersystems.signalservice.internal.storage.protos.StorageRecord",
"fields":[
{"name":"recordCase_"},
{"name":"record_"}
]}
,
{
"name":"org.whispersystems.signalservice.internal.util.JsonUtil$AciDeserializer",
"methods":[{"name":"<init>","parameterTypes":[] }]}