Fix read receipts falling from sky (#10576)

t3chguy/dedup-icons-17oct
Michael Weimann 2023-04-12 13:50:48 +02:00 committed by GitHub
parent d2066ba5f5
commit 7cd86231b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -885,10 +885,10 @@ export default class MessagePanel extends React.Component<IProps, IState> {
// Record these receipts along with their last shown event ID for
// each associated user ID.
for (const receipt of newReceipts) {
receiptsByUserId[receipt.userId] = {
receiptsByUserId.set(receipt.userId, {
lastShownEventId,
receipt,
};
});
}
}