Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zjkmxy committed Apr 30, 2024
1 parent 9dd1dc1 commit cab3a80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ucla-irl/ndnts-aux",
"version": "3.0.0",
"version": "3.0.1",
"description": "NDNts Auxiliary Package for Web and Deno",
"scripts": {
"test": "deno test --no-check",
Expand Down
2 changes: 1 addition & 1 deletion src/sync-agent/sync-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class SyncAgent implements AsyncDisposable {
return undefined;
}
const channelText = data.name.get(0)!.text;
if (!AllChannelValues.find((x) => x === channelText)) {
if (!AllChannelValues.find((x) => channelText === x || channelText === `ENC-${x}`)) {
console.error(`Malformed encapsulated packet: ${data.name}`);
return undefined;
}
Expand Down

0 comments on commit cab3a80

Please sign in to comment.