Test that ForwardDialog can render replies
Previously ForwardDialog was not giving its EventTile message preview the information it needed to render a ReplyThread. This was a bit tricky to fix since we were pulling a fake event out of thin air, so this ensures it doesn't regress. Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
100efb1a90
commit
eb07f1fb86
2 changed files with 49 additions and 16 deletions
|
@ -236,6 +236,7 @@ export function mkStubRoom(roomId = null, name) {
|
|||
getPendingEvents: () => [],
|
||||
getLiveTimeline: () => stubTimeline,
|
||||
getUnfilteredTimelineSet: () => null,
|
||||
findEventById: () => null,
|
||||
getAccountData: () => null,
|
||||
hasMembershipState: () => null,
|
||||
getVersion: () => '1',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue