Admin: IP und Ports des Servers in der Matchkarte anzeigen
This commit is contained in:
1 parent
9bb878c641
commit
2873b5ba3a
2 files changed
+9
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user