Skip to content

Commit

Permalink
use fork of appservice (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
debdutdeb authored Oct 10, 2024
1 parent 8b0dc91 commit a9d2d9d
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 41 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rocket.chat/forked-matrix-appservice-bridge",
"version": "4.0.2",
"version": "4.1.0",
"description": "Bridging infrastructure for Matrix Application Services",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -39,7 +39,7 @@
"ip-cidr": "^3.0.4",
"is-my-json-valid": "^2.20.5",
"js-yaml": "^4.0.0",
"matrix-appservice": "^0.10.0",
"matrix-appservice": "github:debdutdeb/matrix-appservice-node#rocket.chat",
"matrix-js-sdk": "^12.4.1",
"nedb": "^1.8.0",
"nopt": "^5.0.0",
Expand Down
3 changes: 1 addition & 2 deletions src/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,8 @@ export class Bridge {
passthrough = await this.eeEventBroker.onASEvent(weakEvent);
}
if (passthrough) {
return this.onEvent(weakEvent);
await this.onEvent(weakEvent);
}
return undefined;
});
this.appservice.on("ephemeral", async (event) =>
this.onEphemeralEvent(event as unknown as EphemeralEvent)
Expand Down
Loading

0 comments on commit a9d2d9d

Please sign in to comment.