You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Clarify when room / oobData can/can't be set
This commit is contained in:
@@ -22,6 +22,9 @@ var sdk = require("../../../index");
|
|||||||
module.exports = React.createClass({
|
module.exports = React.createClass({
|
||||||
displayName: 'RoomAvatar',
|
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: {
|
propTypes: {
|
||||||
room: React.PropTypes.object,
|
room: React.PropTypes.object,
|
||||||
oobData: React.PropTypes.object,
|
oobData: React.PropTypes.object,
|
||||||
|
|||||||
Reference in New Issue
Block a user