Admin: IP und Ports des Servers in der Matchkarte anzeigen

This commit is contained in:
mregosar committed 2026-10-29 14:37:05 +01:00
1 parent 657934b8c4
commit f40ca1c55f
2 files changed
+9

No files matched your search

+3
View File
@@ -956,6 +956,9 @@ export class MatchService extends EventEmitter {
updatedAt: row.updated_at,
idleTimeoutMinutes: this.config.idleTimeoutMinutes,
};
if (viewer.isOrganizer && row.host) {
view.address = { host: row.host, port: row.port, tvPort: row.tv_port };
}
const configured = row.status === 'configured';
if (!configured || viewer.role === 'public') return view;