Clarify when room / oobData can/can't be set
This commit is contained in:
parent
d61f383748
commit
2dbed2aa02
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ var sdk = require("../../../index");
|
|||
module.exports = React.createClass({
|
||||
displayName: 'RoomAvatar',
|
||||
|
||||
// Room may be left unset here, but if it is,
|
||||
// oobData.avatarUrl should be set (else there
|
||||
// would be nowhere to get the avatar from)
|
||||
propTypes: {
|
||||
room: React.PropTypes.object,
|
||||
oobData: React.PropTypes.object,
|
||||
|
|
Loading…
Reference in a new issue