mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
[MIRROR] [s] Hotfix notes not belonging to players being shown to players [MDB IGNORE] (#9060)
* [s] Hotfix notes not belonging to players being shown to players * [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 Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
This commit is contained in:
@@ -654,7 +654,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