semi-functional allow-list implementation in historyKeeper
This commit is contained in:
@@ -224,6 +224,9 @@ commands.RM_OWNERS = function (meta, args) {
|
||||
changed = true;
|
||||
});
|
||||
|
||||
// XXX RESTRICT only owned channels can be restricted
|
||||
// drop the restricted flag if there are no owners
|
||||
|
||||
return changed;
|
||||
};
|
||||
|
||||
@@ -302,6 +305,9 @@ commands.RESET_OWNERS = function (meta, args) {
|
||||
});
|
||||
}
|
||||
|
||||
// XXX RESTRICT only owned channels can be restricted
|
||||
// drop the restricted flag if there are no owners
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user