Remove some unused fields
This commit is contained in:
@@ -3236,12 +3236,7 @@ class Portal(DBPortal, BasePortal):
|
||||
await dbm.insert()
|
||||
await DBMessage.replace_temp_mxid(temporary_identifier, self.mxid, event_id)
|
||||
except (IntegrityError, UniqueViolationError) as e:
|
||||
self.log.exception(
|
||||
f"{e.__class__.__name__} while saving message mapping. "
|
||||
"This might mean that an update was handled after it left the "
|
||||
"dedup cache queue. You can try enabling bridge.deduplication."
|
||||
"pre_db_check in the config."
|
||||
)
|
||||
self.log.exception(f"{type(e).__name__} while saving message mapping")
|
||||
await intent.redact(self.mxid, event_id)
|
||||
return
|
||||
if isinstance(evt, Message) and evt.reactions:
|
||||
|
||||
@@ -62,7 +62,6 @@ media_content_table = {
|
||||
|
||||
|
||||
class PortalDedup:
|
||||
pre_db_check: bool = False
|
||||
cache_queue_length: int = 256
|
||||
|
||||
_dedup: deque[bytes | int]
|
||||
|
||||
Reference in New Issue
Block a user