1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-18 09:22:18 +03:00
This commit is contained in:
David Baker
2018-08-17 15:15:53 +01:00
parent 9f19896df0
commit 353b6e9e6d

View File

@ -256,6 +256,7 @@ export function mkStubRoom(roomId = null) {
getAccountData: () => null, getAccountData: () => null,
hasMembershipState: () => null, hasMembershipState: () => null,
getVersion: () => '1', getVersion: () => '1',
shouldUpgradeToVersion: () => null,
currentState: { currentState: {
getStateEvents: sinon.stub(), getStateEvents: sinon.stub(),
mayClientSendStateEvent: sinon.stub().returns(true), mayClientSendStateEvent: sinon.stub().returns(true),