Skip unsupported messages in backfill
This commit is contained in:
@@ -2903,6 +2903,8 @@ class Portal(DBPortal, BasePortal):
|
|||||||
before_first_msg_timestamp = int(msg.date.timestamp() * 1000) - 1
|
before_first_msg_timestamp = int(msg.date.timestamp() * 1000) - 1
|
||||||
|
|
||||||
converted, intent = await self._convert_batch_msg(source, msg, add_member)
|
converted, intent = await self._convert_batch_msg(source, msg, add_member)
|
||||||
|
if converted is None:
|
||||||
|
continue
|
||||||
events.append(await self._wrap_batch_msg(intent, msg, converted))
|
events.append(await self._wrap_batch_msg(intent, msg, converted))
|
||||||
intents.append(intent)
|
intents.append(intent)
|
||||||
metas.append(msg)
|
metas.append(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user