From 17f3dc18770350d23a01205f97409787aaf3bcdd Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 31 May 2020 21:40:35 +0200 Subject: [PATCH] realtime.ts: Minor cleanups Signed-off-by: David Mehren --- src/lib/realtime.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/realtime.ts b/src/lib/realtime.ts index 2b3ca9210..edacde520 100644 --- a/src/lib/realtime.ts +++ b/src/lib/realtime.ts @@ -242,7 +242,6 @@ function getStatus (callback): void { const distinctaddresses: string[] = [] const regaddresses: string[] = [] const distinctregaddresses: string[] = [] - // Object.keys(users).forEach(function (key) { for (const user of users.values()) { if (!user) return let found = false @@ -331,8 +330,6 @@ function buildUserOutData (user): UserSession { return { id: user.id, login: user.login, - address: '', - 'user-agent': '', userid: user.userid, photo: user.photo, color: user.color,