1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-16 22:01:54 +03:00

allow read receipts without an existing member in MessagePanel

This commit is contained in:
Bruno Windels
2018-10-10 16:15:20 +02:00
parent 0767c278e7
commit 5128386160

View File

@ -560,9 +560,6 @@ module.exports = React.createClass({
return; // ignore ignored users
}
const member = room.getMember(r.userId);
if (!member) {
return; // ignore unknown user IDs
}
receipts.push({
userId: r.userId,
roomMember: member,