Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #611 from matrix-org/luke/fix-join-part-collapsing…
Browse files Browse the repository at this point in the history
…-use-state-key

Use `getStateKey` instead of `getSender`
  • Loading branch information
dbkr authored Jan 11, 2017
2 parents e95f5b9 + baaf827 commit 4e1af30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/elements/MemberEventListSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ module.exports = React.createClass({
};

eventsToRender.forEach((e) => {
const userId = e.getSender();
const userId = e.getStateKey();
// Initialise a user's events
if (!userEvents[userId]) {
userEvents[userId] = {first: null, last: null};
Expand Down

0 comments on commit 4e1af30

Please sign in to comment.