浏览代码

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

Sumner Evans 3 年之前
父节点
当前提交
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)