Skip to content
Snippets Groups Projects
Commit 75ad96c8 authored by Kegan Dougal's avatar Kegan Dougal
Browse files

Null guard getMember

parent 640aa459
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,9 @@ module.exports = React.createClass({
for (var i = 0; i < receipts.length; ++i) {
var member = room.getMember(receipts[i].userId);
if (!member) {
continue;
}
// Using react refs here would mean both getting Velociraptor to expose
// them and making them scoped to the whole RoomView. Not impossible, but
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment