Оптимизация размера лог-файла
This commit is contained in:
@@ -328,7 +328,6 @@ export function DialogProvider(props: DialogProviderProps) {
|
||||
* Обработчик чтения групповых сообщений
|
||||
*/
|
||||
usePacket(0x07, async (packet : PacketRead) => {
|
||||
info("Read packet received in dialog provider");
|
||||
const fromPublicKey = packet.getFromPublicKey();
|
||||
if(fromPublicKey == publicKey){
|
||||
/**
|
||||
@@ -388,7 +387,6 @@ export function DialogProvider(props: DialogProviderProps) {
|
||||
}, [publicKey]);
|
||||
|
||||
usePacket(0x08, async (packet : PacketDelivery) => {
|
||||
info("Delivery packet received in dialog provider");
|
||||
const fromPublicKey = packet.getToPublicKey();
|
||||
const messageId = packet.getMessageId();
|
||||
if(fromPublicKey != props.dialog){
|
||||
@@ -514,7 +512,6 @@ export function DialogProvider(props: DialogProviderProps) {
|
||||
error("Message dropped because group key not found for group " + toPublicKey);
|
||||
return;
|
||||
}
|
||||
info("New group message packet received from " + fromPublicKey);
|
||||
|
||||
let decryptedContent = '';
|
||||
|
||||
@@ -673,7 +670,6 @@ export function DialogProvider(props: DialogProviderProps) {
|
||||
error("Message dropped because group key not found for group " + toPublicKey);
|
||||
return;
|
||||
}
|
||||
info("New group message packet received from " + fromPublicKey);
|
||||
|
||||
let decryptedContent = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user