From a5d7b24805a34fac1ec74466334e23288f06eb59 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 11 Sep 2020 19:55:15 -0600 Subject: [PATCH] Add a note for why oob_data isn't threaded yet See https://github.com/vector-im/element-web/issues/15157 --- src/components/structures/MatrixChat.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx index 787b1a44e3..64524641e2 100644 --- a/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx @@ -1676,6 +1676,9 @@ export default class MatrixChat extends React.PureComponent { // 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,