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

Remove newlines and spaces in spammer display names #118

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

themagic314
Copy link
Contributor

It seems like spammers commonly use "\n" in their usernames, and the bot sends a two-line response (screenshot_with_example_imgur).

There was a thought to change the "DisplayName()" function, but it's probably the correct way to leave it to output the "real" display name and clean it just before sending.

@themagic314
Copy link
Contributor Author

To be more precise, it's just a space, not a new line, and this is actually just in the mobile version due to the small screen size.

Desktop screenshot:
image

@paskal paskal requested a review from umputun December 1, 2023 15:57
@umputun umputun merged commit c57db64 into radio-t:master Dec 1, 2023
1 check passed
@themagic314 themagic314 deleted the fix-spammer-display-name branch December 1, 2023 18:50
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