Browse Source

Mark room as read after backfilling disappearing notice

Tulir Asokan 2 năm trước cách đây
mục cha
commit
cd584d9c05
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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
 	}