fix: add ping to copy debug report

This commit is contained in:
KoalaDev
2026-06-09 07:14:43 +02:00
parent 4f1016fa87
commit 54d03df0af
+1
View File
@@ -1711,6 +1711,7 @@ elements.copyLogs.addEventListener('click', () => {
: '\uD83D\uDD34';
lines.push(`- **Status:** ${emoji} ${st}`);
lines.push(`- **Server:** \`${safe(status.serverUrl, '?')}\``);
lines.push(`- **Ping:** ${status.ping != null ? `${status.ping}ms` : '-'}`);
if (status.roomId) {
lines.push(`- **Room:** \`${status.roomId}\``);
const peers = Array.isArray(status.peers) ? status.peers : [];