Fix m.receipts causing notifications (#2893)

Fixes https://github.com/matrix-org/dendrite/issues/2353
This commit is contained in:
Till 2022-11-29 15:46:28 +01:00 committed by GitHub
parent 1990c154e9
commit f8d1dc521d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 108 additions and 2 deletions

View file

@ -87,8 +87,7 @@ func (p *ReceiptStreamProvider) IncrementalSync(
}
ev := gomatrixserverlib.ClientEvent{
Type: gomatrixserverlib.MReceipt,
RoomID: roomID,
Type: gomatrixserverlib.MReceipt,
}
content := make(map[string]ReceiptMRead)
for _, receipt := range receipts {