Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Fix contextual ping on header children #661

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

p3lim
Copy link
Member

@p3lim p3lim commented Oct 31, 2023

When header children spawn during combat (e.g. a raid member joins) it would throw an error because we can't set attributes then.

Moving the attribute setter into a non-header block plus initialConfigFunction solves this, while we gotta keep the Mixin call where it was as the Mixin function nor the arg we pass through it exists in a secure environment.

Ref #659 (comment)

When header children would spawn during combat (e.g. a raid member
joins) it would throw an error because we can't set attributes then.

Moving the attribute setter into a non-header block plus
`initialConfigFunction` solves this, while we gotta keep the Mixin call
where it was as the Mixin function (nor the arg we pass through it)
exists in a secure environment.
@p3lim p3lim requested a review from Rainrider October 31, 2023 19:06
@p3lim p3lim self-assigned this Oct 31, 2023
Copy link
Contributor

@Rainrider Rainrider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@p3lim p3lim merged commit f987d20 into master Oct 31, 2023
1 check passed
@p3lim p3lim deleted the fix-ping-header branch October 31, 2023 20:46
@Meivyn
Copy link

Meivyn commented Nov 1, 2023

Confirm that this fixed the issue. Thanks for addressing it.

kodewdle added a commit to tukui-org/ElvUI that referenced this pull request Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants