[core] Log update for unknown jid

This commit is contained in:
devlikepro committed 2025-07-06 16:48:45 +07:00
1 parent e5df21e165
commit 2059793562
1 file changed
+8
@@ -239,6 +239,14 @@ export class NowebPersistentStore implements INowebStore {
if (!update.key.id) {
continue;
}
if (!jid) {
this.logger.warn(
`got message update for unknown jid. update: '${JSON.stringify(
update,
)}'`,
);
continue;
}
const message = await this.messagesRepo.getByJidById(jid, update.key.id);
if (!message) {
this.logger.warn(