Add a note for why oob_data isn't threaded yet

See https://github.com/vector-im/element-web/issues/15157
pull/21833/head
Travis Ralston 2020-09-11 19:55:15 -06:00
parent b1cdf1bc9a
commit a5d7b24805
1 changed files with 3 additions and 0 deletions

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,