1
0
mirror of https://github.com/flarum/core.git synced 2025-10-26 21:21:28 +01:00

Fix AvatarChanged event (#2197)

* Fix AvatarChanged event not being dispatched when changing avatar
Also fix the uploader to trigger the event only once
This commit is contained in:
Clark Winkelmann
2020-06-15 06:20:24 +02:00
committed by GitHub
parent 4da2994d1f
commit 17c239388a
2 changed files with 17 additions and 2 deletions

View File

@@ -80,6 +80,8 @@ class UploadAvatarHandler
$user->save();
$this->dispatchEventsFor($user, $actor);
return $user;
}
}