You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
Fix read receipts falling from sky (#10576)
This commit is contained in:
@@ -885,10 +885,10 @@ export default class MessagePanel extends React.Component<IProps, IState> {
|
|||||||
// Record these receipts along with their last shown event ID for
|
// Record these receipts along with their last shown event ID for
|
||||||
// each associated user ID.
|
// each associated user ID.
|
||||||
for (const receipt of newReceipts) {
|
for (const receipt of newReceipts) {
|
||||||
receiptsByUserId[receipt.userId] = {
|
receiptsByUserId.set(receipt.userId, {
|
||||||
lastShownEventId,
|
lastShownEventId,
|
||||||
receipt,
|
receipt,
|
||||||
};
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user