mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 04:42:57 +00:00
Switch moderation hide flows to block
This commit is contained in:
1 parent
0cb5018b76
commit
ba6b56dc26
15 files changed
+407
-181
No files matched your search
+3
-3
@@ -1254,11 +1254,11 @@ class SubscriptionsManager {
|
||||
return app.handleModerationOverride(buildModerationPayload(detail));
|
||||
});
|
||||
|
||||
listView.setModerationHideHandler((detail = {}) => {
|
||||
if (typeof app?.handleModerationHide !== "function") {
|
||||
listView.setModerationBlockHandler((detail = {}) => {
|
||||
if (typeof app?.handleModerationBlock !== "function") {
|
||||
return false;
|
||||
}
|
||||
return app.handleModerationHide(buildModerationPayload(detail));
|
||||
return app.handleModerationBlock(buildModerationPayload(detail));
|
||||
});
|
||||
|
||||
listView.addEventListener("video:share", (event) => {
|
||||
|
||||
Reference in new issue
Block a user