mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
[s] Hotfix notes not belonging to players being shown to players (#62352)
See title.
Other players will no longer see other player's notes when they connect to the server.
Memos will still be shown to admins.
Things that I have tested in the making of this PR:
Notes of a player not being shown to other players definitely work
Notes of a player being shown to a player definitely work.
Memos are still shown to admins.
Closes #62348
This commit is contained in:
@@ -651,7 +651,7 @@
|
||||
WHERE type = :type
|
||||
AND deleted = 0
|
||||
AND (expire_timestamp > NOW() OR expire_timestamp IS NULL)
|
||||
AND ((type != 'message' AND type != 'watchlist entry') OR targetckey = :targetckey)
|
||||
AND (type = 'memo' OR targetckey = :targetckey)
|
||||
[after_timestamp? "AND timestamp > :after_timestamp": ""]
|
||||
[!show_secret? "AND secret = 0": ""]
|
||||
"}, parameters)
|
||||
|
||||
Reference in New Issue
Block a user