You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Don't show feedback prompts when that UIFeature is disabled (#9305)
This commit is contained in:
committed by
GitHub
parent
88c12cdaa5
commit
56c95467de
@ -444,6 +444,8 @@ export function mkStubRoom(roomId: string = null, name: string, client: MatrixCl
|
||||
canInvite: jest.fn(),
|
||||
getThreads: jest.fn().mockReturnValue([]),
|
||||
eventShouldLiveIn: jest.fn().mockReturnValue({}),
|
||||
createThreadsTimelineSets: jest.fn().mockReturnValue(new Promise(() => {})),
|
||||
fetchRoomThreads: jest.fn().mockReturnValue(new Promise(() => {})),
|
||||
} as unknown as Room;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user