Merge pull request #210 from matrix-org/dbkr/invite_display_when_peekable

Show the invite preview bar when we have a 3pid invite
This commit is contained in:
David Baker 2016-03-11 10:21:04 +00:00
commit 1516f17af4
2 changed files with 20 additions and 0 deletions

View file

@ -25,6 +25,9 @@ module.exports = React.createClass({
propTypes: {
onJoinClick: React.PropTypes.func,
onRejectClick: React.PropTypes.func,
// if inviterName is specified, the preview bar will shown an invite to the room.
// You should also specify onRejectClick if specifiying inviterName
inviterName: React.PropTypes.string,
canJoin: React.PropTypes.bool,
canPreview: React.PropTypes.bool,