Skip to content
Extraits de code Groupes Projets
Valider 970e1129 rédigé par Christian Paul's avatar Christian Paul
Parcourir les fichiers

RoomHandler -> MatrixRoomHandler

parent 54307eb1
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -26,7 +26,7 @@ import { AppserviceMock } from "./mocks/appservicemock"; ...@@ -26,7 +26,7 @@ import { AppserviceMock } from "./mocks/appservicemock";
// we are a test file and thus need those // we are a test file and thus need those
/* tslint:disable:no-unused-expression max-file-line-count no-any */ /* tslint:disable:no-unused-expression max-file-line-count no-any */
const RoomHandler = (Proxyquire("../src/matrixroomhandler", { const MatrixRoomHandler = (Proxyquire("../src/matrixroomhandler", {
"./util": { "./util": {
Util: { Util: {
DelayedPromise: Util.DelayedPromise, DelayedPromise: Util.DelayedPromise,
...@@ -119,7 +119,7 @@ function createRH(opts: any = {}) { ...@@ -119,7 +119,7 @@ function createRH(opts: any = {}) {
}, },
}; };
const handler = new RoomHandler(bot as any, config, bridge as any, store); const handler = new MatrixRoomHandler(bot as any, config, bridge as any, store);
return { handler, bridge }; return { handler, bridge };
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter