From 7ae2c5b11bec88381c6e7c30e0e8dfccc238e3ab Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 2 Mar 2016 11:51:47 +0000 Subject: [PATCH] Document fields of oob_data --- src/components/structures/RoomView.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 8e2ededad6..31a8e7a7c4 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -63,6 +63,9 @@ module.exports = React.createClass({ // but has been passed out-of-band, eg. the room name and avatar URL // from an email invite (a workaround for the fact that we can't // get this information from the HS using an email invite). + // Fields: + // * name (string) The room's name + // * avatarUrl (string) The mxc:// avatar URL for the room oobData: React.PropTypes.object, // id of an event to jump to. If not given, will go to the end of the