minor updates and new providers

This commit is contained in:
RoyceDa
2026-01-31 03:02:42 +02:00
parent 2ab86b8df3
commit bcb7e917da
5 changed files with 90 additions and 56 deletions

View File

@@ -206,7 +206,6 @@ export function DialogProvider(props: DialogProviderProps) {
* Если сообщение не от меня и не групповое,
* расшифровываем ключ чачи своим приватным ключом
*/
console.info("Decrypting chacha key for message");
decryptKey = Buffer.from(await decrypt(message.chacha_key, privatePlain), "binary").toString('utf-8');
}
finalMessages.push({
@@ -222,6 +221,7 @@ export function DialogProvider(props: DialogProviderProps) {
message_id: message.message_id,
attachments: await loadAttachments(message.attachments)
});
if(isMentioned(props.dialog)){
/**
* Если мы были упомянуты в этом диалоге, то убираем упоминание,