Implement editing of previous messages

This commit is contained in:
AsamK 2023-05-11 19:10:29 +02:00
parent 72390e595d
commit 8a31b7f2c1
13 changed files with 179 additions and 42 deletions

View file

@ -288,7 +288,8 @@
"name":"java.lang.Long",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true
"allDeclaredConstructors":true,
"methods":[{"name":"valueOf","parameterTypes":["java.lang.String"] }]
},
{
"name":"java.lang.Number",
@ -838,11 +839,25 @@
{"name":"viewOnce","parameterTypes":[] }
]
},
{
"name":"org.asamk.signal.json.JsonEditMessage",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
"queryAllDeclaredConstructors":true,
"methods":[
{"name":"dataMessage","parameterTypes":[] },
{"name":"targetSentTimestamp","parameterTypes":[] }
]
},
{
"name":"org.asamk.signal.json.JsonError",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true
"allDeclaredConstructors":true,
"methods":[
{"name":"message","parameterTypes":[] },
{"name":"type","parameterTypes":[] }
]
},
{
"name":"org.asamk.signal.json.JsonGroupInfo",
@ -875,6 +890,7 @@
"methods":[
{"name":"callMessage","parameterTypes":[] },
{"name":"dataMessage","parameterTypes":[] },
{"name":"editMessage","parameterTypes":[] },
{"name":"receiptMessage","parameterTypes":[] },
{"name":"source","parameterTypes":[] },
{"name":"sourceDevice","parameterTypes":[] },
@ -1007,7 +1023,11 @@
"name":"org.asamk.signal.json.JsonSticker",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true
"allDeclaredConstructors":true,
"methods":[
{"name":"packId","parameterTypes":[] },
{"name":"stickerId","parameterTypes":[] }
]
},
{
"name":"org.asamk.signal.json.JsonStoryContext",
@ -1069,7 +1089,8 @@
{"name":"dataMessage","parameterTypes":[] },
{"name":"destination","parameterTypes":[] },
{"name":"destinationNumber","parameterTypes":[] },
{"name":"destinationUuid","parameterTypes":[] }
{"name":"destinationUuid","parameterTypes":[] },
{"name":"editMessage","parameterTypes":[] }
]
},
{
@ -2417,13 +2438,15 @@
"name":"org.whispersystems.signalservice.api.groupsv2.CredentialResponse",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true
"allDeclaredConstructors":true,
"methods":[{"name":"<init>","parameterTypes":[] }]
},
{
"name":"org.whispersystems.signalservice.api.groupsv2.TemporalCredential",
"allDeclaredFields":true,
"allDeclaredMethods":true,
"allDeclaredConstructors":true
"allDeclaredConstructors":true,
"methods":[{"name":"<init>","parameterTypes":[] }]
},
{
"name":"org.whispersystems.signalservice.api.groupsv2.TemporalCredential[]"
@ -3236,6 +3259,14 @@
{"name":"sentTimestamp_"}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$EditMessage",
"fields":[
{"name":"bitField0_"},
{"name":"dataMessage_"},
{"name":"targetSentTimestamp_"}
]
},
{
"name":"org.whispersystems.signalservice.internal.push.SignalServiceProtos$Envelope",
"fields":[