You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-16 22:01:54 +03:00
Merge commit '9a0ea56' into rav/roomview_works
Conflicts: src/components/structures/RoomView.js
This commit is contained in:
@ -47,11 +47,6 @@ module.exports = React.createClass({
|
||||
// for more details.
|
||||
stickyBottom: React.PropTypes.bool,
|
||||
|
||||
// callback to determine if a user is the magic freeswitch conference
|
||||
// user. Takes one parameter, which is a user id. Should return true if
|
||||
// the user is the conference user.
|
||||
isConferenceUser: React.PropTypes.func,
|
||||
|
||||
// callback which is called when the panel is scrolled.
|
||||
onScroll: React.PropTypes.func,
|
||||
|
||||
@ -140,13 +135,6 @@ module.exports = React.createClass({
|
||||
continue;
|
||||
}
|
||||
|
||||
if (this.props.isConferenceUser && mxEv.getType() === "m.room.member") {
|
||||
if (this.props.isConferenceUser(mxEv.getSender()) ||
|
||||
this.props.isConferenceUser(mxEv.getStateKey())) {
|
||||
continue; // suppress conf user join/parts
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
var lastShownEventIndex = i;
|
||||
@ -167,13 +155,6 @@ module.exports = React.createClass({
|
||||
wantTile = false;
|
||||
}
|
||||
|
||||
if (this.props.isConferenceUser && mxEv.getType() === "m.room.member") {
|
||||
if (this.props.isConferenceUser(mxEv.getSender()) ||
|
||||
this.props.isConferenceUser(mxEv.getStateKey())) {
|
||||
wantTile = false; // suppress conf user join/parts
|
||||
}
|
||||
}
|
||||
|
||||
var last = (i == lastShownEventIndex);
|
||||
|
||||
if (wantTile) {
|
||||
|
Reference in New Issue
Block a user