mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-07 21:53:04 -04:00
Fix Crashing With SHC
This commit is contained in:
parent
d460e926f1
commit
59b1fb3b02
2 changed files with 2 additions and 2 deletions
2
.github/workflows/reportBrokenPlugins.yml
vendored
2
.github/workflows/reportBrokenPlugins.yml
vendored
|
@ -91,5 +91,5 @@ jobs:
|
||||||
cat "$stable_output_file" "$canary_output_file" >> $GITHUB_STEP_SUMMARY
|
cat "$stable_output_file" "$canary_output_file" >> $GITHUB_STEP_SUMMARY
|
||||||
exit $exit_code
|
exit $exit_code
|
||||||
env:
|
env:
|
||||||
WEBHOOK_URL: ${{ inputs.webhook_url || secrets.WEBHOOK }}
|
WEBHOOK_URL: ${{ inputs.webhook_url || secrets.WEBHOOK_URL }}
|
||||||
WEBHOOK_SECRET: ${{ secrets.WEBHOOK_SECRET }}
|
WEBHOOK_SECRET: ${{ secrets.WEBHOOK_SECRET }}
|
||||||
|
|
|
@ -141,7 +141,7 @@ function HiddenChannelLockScreen({ channel }: { channel: ExtendedChannel; }) {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const membersToFetch: Array<string> = [];
|
const membersToFetch: Array<string> = [];
|
||||||
|
|
||||||
const guildOwnerId = GuildStore.getGuild(guild_id).ownerId;
|
const guildOwnerId = GuildStore.getGuild(guild_id)?.ownerId;
|
||||||
if (!GuildMemberStore.getMember(guild_id, guildOwnerId)) membersToFetch.push(guildOwnerId);
|
if (!GuildMemberStore.getMember(guild_id, guildOwnerId)) membersToFetch.push(guildOwnerId);
|
||||||
|
|
||||||
Object.values(permissionOverwrites).forEach(({ type, id: userId }) => {
|
Object.values(permissionOverwrites).forEach(({ type, id: userId }) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue