Унификация кодирования chacha_key_plain теперь он в hex, а не в utf8 с потерей данных

This commit is contained in:
RoyceDa
2026-03-28 17:52:13 +02:00
parent f5bfa153b6
commit 61e83bdd43
8 changed files with 23 additions and 23 deletions

View File

@@ -42,7 +42,7 @@ export function MessageReplyMessages(props: AttachmentProps) {
<Skeleton h={50} w={'100%'}></Skeleton>
}
{reply.map((msg : MessageReply, index) => (
<ReplyedMessage parent={props.parent} chacha_key_plain={Buffer.from(msg.chacha_key_plain, 'hex').toString('utf-8')} key={index} messageReply={msg}></ReplyedMessage>
<ReplyedMessage parent={props.parent} chacha_key_plain={msg.chacha_key_plain} key={index} messageReply={msg}></ReplyedMessage>
))}
{showAlertInReplyMessages && <Alert style={{
borderTopLeftRadius: 0,