Add a note for why oob_data isn't threaded yet

See https://github.com/vector-im/element-web/issues/15157
This commit is contained in:
Travis Ralston 2020-09-11 19:55:15 -06:00
parent b1cdf1bc9a
commit a5d7b24805

View file

@ -1676,6 +1676,9 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
// associated EventTile.
highlighted: Boolean(eventId),
threepid_invite: threepidInvite,
// TODO: Replace oob_data with the threepidInvite (which has the same info).
// This isn't done yet because it's threaded through so many more places.
// See https://github.com/vector-im/element-web/issues/15157
oob_data: {
name: threepidInvite?.roomName,
avatarUrl: threepidInvite?.roomAvatarUrl,