Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- [core] Move code for untitled resources into `core` from `plugin-ext` and allow users to open untitled editors with `New File` command. [#10868](https://github.com/eclipse-theia/theia/pull/10868)
- [plugin] added support for `SnippetString.appendChoice` [#10969](https://github.com/eclipse-theia/theia/pull/10969) - Contributed on behalf of STMicroelectronics
- [core] rename ConnectionHandlers.push param in packages/core/src/node/messaging/messaging-contribution.ts [#10996](https://github.com/eclipse-theia/theia/pull/10996)

<a name="breaking_changes_1.25.0">[Breaking Changes:](#breaking_changes_1.25.0)</a>

Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/node/messaging/messaging-contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ export namespace MessagingContribution {

push(spec: string, callback: (params: MessagingService.PathParams, connection: T) => void): void {
const route = new Route(spec);
this.handlers.push((path, channel) => {
this.handlers.push((path, socket) => {
const params = route.match(path);
if (!params) {
return false;
}
callback(params, channel);
callback(params, socket);
return route.reverse(params);
});
}
Expand Down