mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
User specific motd changes (again)
This commit is contained in:
@@ -1276,11 +1276,13 @@ function GetApp(): ModuleType {
|
|||||||
}
|
}
|
||||||
if (req.query.motd) {
|
if (req.query.motd) {
|
||||||
result.motd = motd
|
result.motd = motd
|
||||||
|
if (userSpecificMotd[user.id]) {
|
||||||
result.userSpecificMotd = {
|
result.userSpecificMotd = {
|
||||||
msg: userSpecificMotd[user.id].msg,
|
msg: userSpecificMotd[user.id].msg,
|
||||||
seen: userSpecificMotd[user.id].seen,
|
seen: userSpecificMotd[user.id].seen,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
res.json(result)
|
res.json(result)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Submodule submodules/qmining-page updated: 23dc6197ad...179c1f0079
Reference in New Issue
Block a user