Revert "Revert "Fix showing peek preview while LL members are loading""

This commit is contained in:
David Baker 2018-08-22 16:35:58 +01:00 committed by GitHub
parent 454d78254d
commit f679acea08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 25 additions and 26 deletions

View file

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