Skip to content

Commit

Permalink
Release 1.5.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Oct 1, 2024
1 parent d78b474 commit dd5943d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/matterbridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ export class Matterbridge extends EventEmitter {
await this.logNodeAndSystemInfo();
this.log.notice(
`Matterbridge version ${this.matterbridgeVersion} ` +
`${hasParameter('bridge') || (!hasParameter('childbridge') && (await this.nodeContext?.get<string>('bridgeMode', '')) === 'bridge') ? 'mode bridge ' : ''}` +
`${hasParameter('childbridge') || (!hasParameter('bridge') && (await this.nodeContext?.get<string>('bridgeMode', '')) === 'childbridge') ? 'mode childbridge ' : ''}` +
`${hasParameter('controller') ? 'mode controller ' : ''}` +
`${this.restartMode !== '' ? 'restart mode ' + this.restartMode + ' ' : ''}` +
`running on ${this.systemInformation.osType} (v.${this.systemInformation.osRelease}) platform ${this.systemInformation.osPlatform} arch ${this.systemInformation.osArch}`,
`${hasParameter('bridge') || (!hasParameter('childbridge') && (await this.nodeContext?.get<string>('bridgeMode', '')) === 'bridge') ? 'mode bridge ' : ''}` +
`${hasParameter('childbridge') || (!hasParameter('bridge') && (await this.nodeContext?.get<string>('bridgeMode', '')) === 'childbridge') ? 'mode childbridge ' : ''}` +
`${hasParameter('controller') ? 'mode controller ' : ''}` +
`${this.restartMode !== '' ? 'restart mode ' + this.restartMode + ' ' : ''}` +
`running on ${this.systemInformation.osType} (v.${this.systemInformation.osRelease}) platform ${this.systemInformation.osPlatform} arch ${this.systemInformation.osArch}`,
);

// Check node version and throw error
Expand Down Expand Up @@ -2378,14 +2378,14 @@ export class Matterbridge extends EventEmitter {
peerNodeId: session.peerNodeId.toString(),
fabric: session.fabric
? {
fabricIndex: session.fabric.fabricIndex,
fabricId: session.fabric.fabricId.toString(),
nodeId: session.fabric.nodeId.toString(),
rootNodeId: session.fabric.rootNodeId.toString(),
rootVendorId: session.fabric.rootVendorId,
rootVendorName: this.getVendorIdName(session.fabric.rootVendorId),
label: session.fabric.label,
}
fabricIndex: session.fabric.fabricIndex,
fabricId: session.fabric.fabricId.toString(),
nodeId: session.fabric.nodeId.toString(),
rootNodeId: session.fabric.rootNodeId.toString(),
rootVendorId: session.fabric.rootVendorId,
rootVendorName: this.getVendorIdName(session.fabric.rootVendorId),
label: session.fabric.label,
}
: undefined,
isPeerActive: session.isPeerActive,
secure: session.secure,
Expand Down

0 comments on commit dd5943d

Please sign in to comment.