Fix timestamp of photo has expired messages in backfill

This commit is contained in:
Tulir Asokan
2022-02-01 16:48:51 +02:00
parent fba118f0d9
commit e7248e2418
+1
View File
@@ -2152,6 +2152,7 @@ class Portal(DBPortal, BasePortal):
return await self._send_message(
intent,
TextMessageEventContent(msgtype=MessageType.NOTICE, body="Photo has expired"),
timestamp=evt.date,
)
loc, largest_size = self._get_largest_photo_size(media.photo)
if loc is None: