mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-11-13 05:21:51 +01:00
backfill status event: send first expected timestamp in ms after epoch instead of seconds
This commit is contained in:
parent
03d46630c2
commit
0939bb3bc3
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ func (portal *Portal) updateBackfillStatus(backfillState *database.BackfillState
|
|||
|
||||
_, err := portal.MainIntent().SendStateEvent(portal.MXID, BackfillStatusEvent, "", map[string]interface{}{
|
||||
"status": backfillStatus,
|
||||
"first_timestamp": backfillState.FirstExpectedTimestamp,
|
||||
"first_timestamp": backfillState.FirstExpectedTimestamp * 1000,
|
||||
})
|
||||
if err != nil {
|
||||
portal.log.Errorln("Error sending backfill status event:", err)
|
||||
|
|
Loading…
Reference in a new issue