mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 03:05:51 +03:00
Fix read receipts falling from sky (#10576)
This commit is contained in:
parent
d2066ba5f5
commit
7cd86231b4
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
};
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue