1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

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. // associated EventTile.
highlighted: Boolean(eventId), highlighted: Boolean(eventId),
threepid_invite: threepidInvite, 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: { oob_data: {
name: threepidInvite?.roomName, name: threepidInvite?.roomName,
avatarUrl: threepidInvite?.roomAvatarUrl, avatarUrl: threepidInvite?.roomAvatarUrl,