소스 검색

Mark room as read after backfilling disappearing notice

Tulir Asokan 2 년 전
부모
커밋
cd584d9c05
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      historysync.go

+ 1 - 0
historysync.go

@@ -232,6 +232,7 @@ func (user *User) backfillInChunks(req *database.Backfill, conv *database.Histor
 		msg.Sent = true
 		msg.Type = database.MsgFake
 		msg.Insert(nil)
+		user.markSelfReadFull(portal)
 		return
 	}