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,21 @@
// Metro module 11694 (f11695).
import UserProfileStore from "../user_profile/UserProfileStore";
import { EMPTY_STRING_SNOWFLAKE_ID } from "../../Constants";
import { useStateFromStores } from "../../_bundle/Module589";
export default function useGetApplicationFromBotUserId(c19079_0) {
let r13 = useStateFromStores([UserProfileStore], () => {
let r5 = c19079_0;
let r7 = void 0;
if (r5 !== null) {
if (r5 == null) {
r5 = EMPTY_STRING_SNOWFLAKE_ID;
}
r7 = UserProfileStore.getUserProfile(r5)?.application;
}
return r7;
});
if (r13 == null) {
r13 = void 0;
}
return r13;
};