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

Reduce discrepancies between server and client-side character count #5360

Merged
merged 1 commit into from Oct 12, 2017

Conversation

ClearlyClaire
Copy link
Contributor

There are various occasions where client-side and server-side toot character count disagree, potentially leading to rejected toots even though the web UI displays a non-negative number of available characters.

While I am pretty sure there are still discrepancies in the URL parsing code, this PR fixes a small mismatch in the regular expressions used for mentions.

@Gargron Gargron merged commit d37305c into mastodon:master Oct 12, 2017
@ClearlyClaire ClearlyClaire deleted the mention-character-count branch November 11, 2017 15:38
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.

None yet

3 participants