Implement textStyles for sending and receiving

Fixes #1250
This commit is contained in:
AsamK 2023-05-20 12:47:35 +02:00
parent 145a2f1179
commit 91700ce995
13 changed files with 176 additions and 39 deletions

View file

@ -838,6 +838,7 @@
{"name":"remoteDelete","parameterTypes":[] },
{"name":"sticker","parameterTypes":[] },
{"name":"storyContext","parameterTypes":[] },
{"name":"textStyles","parameterTypes":[] },
{"name":"timestamp","parameterTypes":[] },
{"name":"viewOnce","parameterTypes":[] }
]
@ -940,7 +941,8 @@
{"name":"authorUuid","parameterTypes":[] },
{"name":"id","parameterTypes":[] },
{"name":"mentions","parameterTypes":[] },
{"name":"text","parameterTypes":[] }
{"name":"text","parameterTypes":[] },
{"name":"textStyles","parameterTypes":[] }
]
},
{
@ -1138,6 +1140,17 @@
{"name":"destinationUuid","parameterTypes":[] }
]
},
{
"name":"org.asamk.signal.json.JsonTextStyle",
"allDeclaredFields":true,
"queryAllDeclaredMethods":true,
"queryAllDeclaredConstructors":true,
"methods":[
{"name":"length","parameterTypes":[] },
{"name":"start","parameterTypes":[] },
{"name":"style","parameterTypes":[] }
]
},
{
"name":"org.asamk.signal.json.JsonTypingMessage",
"allDeclaredFields":true,