[core] Log update for unknown jid
This commit is contained in:
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(
|
||||
|
||||
Reference in new issue
Block a user