This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,10 @@
// Metro module 9457 (f9458).
import PermissionStore from "../../stores/PermissionStore";
import { Permissions } from "../../Constants";
import { useIsActiveChannelOrUnarchivableThread } from "../threads/ThreadHooks";
import { useStateFromStores } from "../../_bundle/Module589";
export default function useCanRemoveAllReactions(a0) {
const isActiveChannelOrUnarchivableThread = useIsActiveChannelOrUnarchivableThread(a0);
const stateFromStores = useStateFromStores([PermissionStore], () => PermissionStore.can(Permissions.MANAGE_MESSAGES, a0) && isActiveChannelOrUnarchivableThread, [a0, isActiveChannelOrUnarchivableThread]);
return a0 != null && stateFromStores;
};