You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Merge branches 'develop' and 't3chguy/prop-types' of github.com:matrix-org/matrix-react-sdk into t3chguy/prop-types
# Conflicts: # test/components/structures/MessagePanel-test.js
This commit is contained in:
@ -42,11 +42,16 @@ const room = new Matrix.Room();
|
||||
const WrappedMessagePanel = React.createClass({
|
||||
childContextTypes: {
|
||||
matrixClient: PropTypes.object,
|
||||
room: PropTypes.object,
|
||||
},
|
||||
|
||||
getChildContext: function() {
|
||||
return {
|
||||
matrixClient: client,
|
||||
room: {
|
||||
canReact: true,
|
||||
canReply: true,
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user