Эх сурвалжийг харах

backfill status event: send first expected timestamp in ms after epoch instead of seconds

Sumner Evans 3 жил өмнө
parent
commit
0939bb3bc3
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      historysync.go

+ 1 - 1
historysync.go

@@ -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)