minor updates and new providers
This commit is contained in:
@@ -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)){
|
||||
/**
|
||||
* Если мы были упомянуты в этом диалоге, то убираем упоминание,
|
||||
|
||||
Reference in New Issue
Block a user