Personal Telegram developer console for GitHub
feat: route pending workspace messages through policy
davoodmehraban89 committed
Oct 3, 2026 at 13:07 UTC
9807807efa6a7198588b66c90f0a0eb5c4d3446c
1 file changed
+4
src/core/router.js
+4
@@ -17,6 +17,10 @@ export class PluginRouter {
17
return this.#dispatch('resolveCallback', data, context);
18
}
19
20
+ async dispatchMessage(payload, context = {}) {
21
+ return this.#dispatch('resolveMessage', payload, context);
22
+ }
23
+
24
async #dispatch(resolverName, input, context) {
25
for (const plugin of this.registry.getPlugins()) {
26
const resolver = plugin?.[resolverName];