mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-12 14:54:07 +00:00
realtime.ts: Minor cleanups
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
d2963eedc6
commit
17f3dc1877
1 changed files with 0 additions and 3 deletions
|
@ -242,7 +242,6 @@ function getStatus (callback): void {
|
||||||
const distinctaddresses: string[] = []
|
const distinctaddresses: string[] = []
|
||||||
const regaddresses: string[] = []
|
const regaddresses: string[] = []
|
||||||
const distinctregaddresses: string[] = []
|
const distinctregaddresses: string[] = []
|
||||||
// Object.keys(users).forEach(function (key) {
|
|
||||||
for (const user of users.values()) {
|
for (const user of users.values()) {
|
||||||
if (!user) return
|
if (!user) return
|
||||||
let found = false
|
let found = false
|
||||||
|
@ -331,8 +330,6 @@ function buildUserOutData (user): UserSession {
|
||||||
return {
|
return {
|
||||||
id: user.id,
|
id: user.id,
|
||||||
login: user.login,
|
login: user.login,
|
||||||
address: '',
|
|
||||||
'user-agent': '',
|
|
||||||
userid: user.userid,
|
userid: user.userid,
|
||||||
photo: user.photo,
|
photo: user.photo,
|
||||||
color: user.color,
|
color: user.color,
|
||||||
|
|
Loading…
Reference in a new issue