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

Fix AvatarChanged event #2197

Merged
merged 2 commits into from Jun 15, 2020
Merged

Fix AvatarChanged event #2197

merged 2 commits into from Jun 15, 2020

Conversation

clarkwinkelmann
Copy link
Member

@clarkwinkelmann clarkwinkelmann commented Jun 13, 2020

Changes proposed in this pull request:

The AvatarChanged event is triggered on avatar delete, but not on avatar change due to a missing call to dispatchEventsFor.

I guess it's another of those events nobody tried to use before myself.

Reviewers should focus on:

Screenshot

Confirmed

  • Frontend changes: tested on a local Flarum installation.
  • Backend changes: tests are green (run composer test).

clarkwinkelmann and others added 2 commits June 13, 2020 23:23
Also fix the uploader to trigger the event only once
[ci skip] [skip ci]
@askvortsov1 askvortsov1 merged commit 17c2393 into master Jun 15, 2020
@askvortsov1 askvortsov1 deleted the cw/fix-avatar-changed-event branch June 15, 2020 04:20
@askvortsov1 askvortsov1 added this to the 0.1.0-beta.14 milestone Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants