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

Add button and controller to remove user avatar #1057

Merged
merged 3 commits into from
Sep 2, 2024
Merged

Add button and controller to remove user avatar #1057

merged 3 commits into from
Sep 2, 2024

Conversation

FeTetra
Copy link
Contributor

@FeTetra FeTetra commented Sep 2, 2024

This button will just allow moderators and admins to remove the user avatar from a profile for either moderation, or other purposes. The main reason for implementation is to work around an issue where sometimes, loading profile images from the website in-game (at least in LBP2) can create major issues with loading any other images in-game, which usually leads to a crash. My best guess is that it's some sort of memory leak.

…ontroller.cs


Suggestion provided to add logging, a return, and sending a notification to the affected user

Co-authored-by: Josh <josh@slendy.pw>
@FeTetra
Copy link
Contributor Author

FeTetra commented Sep 2, 2024

Good to know, I had a bit of a misconception about how the database was saved. I thought about adding a notification, but I didn't after considering that the image may have not been changed for moderation purposes.

…ontroller.cs

Co-authored-by: Josh <josh@slendy.pw>
Copy link
Member

@sudokoko sudokoko left a comment

Choose a reason for hiding this comment

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

lgtm

@FeTetra FeTetra requested a review from Slendy September 2, 2024 17:05
@Slendy Slendy added this pull request to the merge queue Sep 2, 2024
Merged via the queue into LBPUnion:main with commit 917cccb Sep 2, 2024
2 checks passed
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.

3 participants