You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Use getStateKey instead of getSender
This makes sure that the kickee is not the user used for the MemberEventListSummary
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user