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

Don't send completely empty messages #345

Merged
merged 1 commit into from
May 25, 2016

Conversation

maxpoulin64
Copy link
Member

Little oops due to #320, sending white space is fine but sending completely empty messages isn't. Fixing both on the server and the client to prevent unneeded spamming of the server if something is holding the key and key repeat kicks in.

Bug pointed out by @MaxLeiter on IRC.

@maxpoulin64 maxpoulin64 added Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. second review needed labels May 25, 2016
@AlMcKinlay
Copy link
Member

Good catch, nice simple fix. Merging because small bug, and causing people issues who are on master right now.

@AlMcKinlay
Copy link
Member

👍

@AlMcKinlay AlMcKinlay merged commit 1146557 into thelounge:master May 25, 2016
@maxpoulin64 maxpoulin64 deleted the no-blank branch May 25, 2016 07:52
@astorije
Copy link
Member

Just for the record: #320 (comment)

@AlMcKinlay
Copy link
Member

@astorije I think we thought that was referring to messages with only spaces (comment) as that's a legitimate message in terms of IRC, but a completely empty one shouldn't be (and would mean you can accidentally just press return twice and accidentally send a message). I think there's a difference there.

@astorije
Copy link
Member

I see, sorry I missed that, thanks for the clarification.

@xPaw xPaw added this to the 2.0.0 milestone May 31, 2016
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
Don't send completely empty messages
@AlMcKinlay AlMcKinlay removed their assignment Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants