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 return; // ignore ignored users
} }
const member = room.getMember(r.userId); const member = room.getMember(r.userId);
if (!member) {
return; // ignore unknown user IDs
}
receipts.push({ receipts.push({
userId: r.userId, userId: r.userId,
roomMember: member, roomMember: member,