mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-20 13:54:31 +01:00
Use past-tense for some n-tag values
This commit is contained in:
@@ -107,13 +107,13 @@ const adminActionController: AppController = async (c) => {
|
||||
n.sensitive = true;
|
||||
}
|
||||
if (data.type === 'disable') {
|
||||
n.disable = true;
|
||||
n.disabled = true;
|
||||
}
|
||||
if (data.type === 'silence') {
|
||||
n.silence = true;
|
||||
n.silenced = true;
|
||||
}
|
||||
if (data.type === 'suspend') {
|
||||
n.suspend = true;
|
||||
n.suspended = true;
|
||||
}
|
||||
|
||||
await updateUser(authorId, n, c);
|
||||
|
||||
Reference in New Issue
Block a user