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 sending messages starting with a space #320

Merged
merged 1 commit into from
May 21, 2016

Conversation

maxpoulin64
Copy link
Member

There really is no need to trim apart bringing more situations like this. If I want to put spaces in front of my message (say, for alignment purposes), then I should be able to.

Fixes #319

There really is no need to trim apart bringing more situations like this. If I want to put spaces in front of my message (say, for alignment purposes), then I should be able to.

Fixes thelounge#319
@maxpoulin64 maxpoulin64 added Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. second review needed labels May 11, 2016
@xPaw
Copy link
Member

xPaw commented May 11, 2016

Not trimming is fine, however I think we should block empty messages (e.g. spaces only).

Also, did you check if action or notice need similar changes?

@AlMcKinlay
Copy link
Member

Not trimming is fine, however I think we should block empty messages (e.g. spaces only).

Agreed, we don't want to send empty messages.

@xPaw xPaw mentioned this pull request May 12, 2016
@xPaw xPaw added this to the ★ Next Release milestone May 13, 2016
@astorije
Copy link
Member

@maxpoulin64, any chance you could address the comments above? (Removing the second review needed label until then)

@xPaw
Copy link
Member

xPaw commented May 19, 2016

As someone pointed out in irc, people might want to send empty messages (even if that's silly). Also checked HexChat, they allow it too.

So I'll be fine with this fix.

@astorije
Copy link
Member

👍

@astorije astorije merged commit 0599a40 into thelounge:master May 21, 2016
@maxpoulin64 maxpoulin64 deleted the fix-space branch May 28, 2016 22:02
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
Fix sending messages starting with a space
@xPaw xPaw 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