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] Add email to blacklist + Remove user fix #302

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

Gehrkej
Copy link
Contributor

@Gehrkej Gehrkej commented Aug 4, 2024

Description


In this PR, I have added a simple addition to include the users email when they are banned for the purposes of supporting the blacklist management feature on pr #292. Additionally, I added an assertion if a pfp existed and which seems to fix the remove user issue.

Related issues: #294 #301

Copy link
Contributor

@artkolpakov artkolpakov left a comment

Choose a reason for hiding this comment

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

LGTM! Good job.

await removePfp(getPfpName(teamId, userId));
//remove pfp if there is one
if (userSnapshot.data().pfp !== "") {
await removePfp(getPfpName(teamId, userId));
Copy link
Contributor

Choose a reason for hiding this comment

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

This made me realize that we currently lack functionality that allows users to delete their existing profile pictures and revert to the default profile picture. I will work on creating a ticket for this.

@Gehrkej Gehrkej requested a review from FrankreedX August 4, 2024 18:30
Copy link
Contributor

@FrankreedX FrankreedX left a comment

Choose a reason for hiding this comment

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

works flawlessly, good job!

@Gehrkej Gehrkej merged commit d5962cf into main Aug 5, 2024
1 check passed
@Gehrkej Gehrkej deleted the Gehrkej/fix/add-email-to-blacklist branch August 5, 2024 17:24
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