mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +00:00
Add player-toggled optional chat filter (#587)
This commit is contained in:
1 parent
2ddb01132b
commit
620bd57c46
18 files changed
+253
-7
No files matched your search
@@ -8,7 +8,8 @@ INSERT{!PSQL: IGNORE} INTO carbon_users(
|
||||
whisperreplytarget,
|
||||
spying,
|
||||
ignoringdms,
|
||||
party
|
||||
party,
|
||||
applycustomfilters
|
||||
) VALUES (
|
||||
:id,
|
||||
:muted,
|
||||
@@ -19,5 +20,6 @@ INSERT{!PSQL: IGNORE} INTO carbon_users(
|
||||
:whisperreplytarget,
|
||||
:spying,
|
||||
:ignoringdms,
|
||||
:party
|
||||
:party,
|
||||
:applycustomfilters
|
||||
){PSQL: ON CONFLICT DO NOTHING};
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE carbon_users ADD COLUMN applycustomfilters BOOLEAN;
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE carbon_users ADD COLUMN applycustomfilters BOOLEAN;
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE carbon_users ADD COLUMN applycustomfilters BOOLEAN;
|
||||
@@ -8,5 +8,6 @@ SELECT
|
||||
whisperreplytarget,
|
||||
spying,
|
||||
ignoringdms,
|
||||
party
|
||||
party,
|
||||
applycustomfilters
|
||||
FROM carbon_users WHERE (id = :id);
|
||||
@@ -7,5 +7,6 @@ UPDATE carbon_users SET
|
||||
whisperreplytarget = :whisperreplytarget,
|
||||
spying = :spying,
|
||||
ignoringdms = :ignoringdms,
|
||||
party = :party
|
||||
party = :party,
|
||||
applycustomfilters = :applycustomfilters
|
||||
WHERE (id = :id);
|
||||
Reference in new issue
Block a user