Upgrade mockRoom to implement EventEmitter like mxRoom does

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-07-29 12:39:44 +01:00
parent 38e01e7bb0
commit 265ff452d7
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ function mockRoom(roomId, members, serverACL) {
}
},
},
on: () => undefined,
removeListener: () => undefined,
};
}