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:
parent
175f0235d0
commit
09a04c4ae7
2 changed files with 6 additions and 4 deletions
|
@ -1276,11 +1276,13 @@ function GetApp(): ModuleType {
|
|||
}
|
||||
if (req.query.motd) {
|
||||
result.motd = motd
|
||||
if (userSpecificMotd[user.id]) {
|
||||
result.userSpecificMotd = {
|
||||
msg: userSpecificMotd[user.id].msg,
|
||||
seen: userSpecificMotd[user.id].seen,
|
||||
}
|
||||
}
|
||||
}
|
||||
res.json(result)
|
||||
})
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 23dc6197ad6913cf3e3f0a950fabf05c943cfffa
|
||||
Subproject commit 179c1f00792ec78af9820ac185cf8075b865a4d8
|
Loading…
Add table
Add a link
Reference in a new issue