mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-25 08:01:20 +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 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,
|
||||
|
|
Loading…
Reference in a new issue