mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Clarify when room / oobData can/can't be set
This commit is contained in:
parent
d61f383748
commit
2dbed2aa02
@ -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…
x
Reference in New Issue
Block a user