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

Prevent splitting URLs in messages over the character limit #245

Open
Philippe-Choquette opened this issue Sep 2, 2022 · 1 comment
Open
Assignees
Milestone

Comments

@Philippe-Choquette
Copy link

Philippe-Choquette commented Sep 2, 2022

When sending a message that is over the character limit, it will be split in multiple messages. If the splitting occurs in the middle of a URL, it will prevent the URL from being clickable on the receiving end.

A way to solve this would be to encapsulate the URLs into their own message.

Here's an example.

Source message

Have you seen the new iPhone?
https://www.apple.com/iphone-13-pro/key-features/
It's quite expensive tho.

Current implementation

Message 1:
Have you seen the new iPhone?
https://www.apple.com/ipho

Message 2:
ne-13-pro/key-features/
It's quite expensive tho.

Proposed result:

Message 1:
Have you seen the new iPhone?

Message 2:
https://www.apple.com/iphone-13-pro/key-features/

Message 3:
It's quite expensive tho.

@michaelkourlas michaelkourlas self-assigned this Jun 3, 2023
@michaelkourlas michaelkourlas added this to the future milestone Jun 3, 2023
@johnlescault
Copy link

I would like to request to expand this to never cut words half way through. I assume it would be the same fix. Also, it seems like when messages get cut they are rarely sent in the correct order, would it be possible to create a small delay between each?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants