Explorar o código

Mark room as read after backfilling disappearing notice

Tulir Asokan %!s(int64=2) %!d(string=hai) anos
pai
achega
cd584d9c05
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
 	}