Skip to content

Trim whitespace from string power levels#286

Merged
neilalexander merged 1 commit intomasterfrom
neilalexander/stringpls
Jan 31, 2022
Merged

Trim whitespace from string power levels#286
neilalexander merged 1 commit intomasterfrom
neilalexander/stringpls

Conversation

@neilalexander
Copy link
Copy Markdown
Contributor

Python's int() function is ✨ s p e c i a l ✨ and means that string power levels can be padded with whitespace. We now trim this whitespace, which at least fixes joining Watercooler.

@neilalexander neilalexander requested a review from kegsay January 31, 2022 14:11
@neilalexander
Copy link
Copy Markdown
Contributor Author

Related: matrix-org/matrix-doc#3264, and somewhat indirectly, matrix-org/matrix-spec-proposals#3667.

@neilalexander neilalexander merged commit 8d9c3d7 into master Jan 31, 2022
@neilalexander neilalexander deleted the neilalexander/stringpls branch January 31, 2022 14:28
neilalexander added a commit to matrix-org/dendrite that referenced this pull request Jan 31, 2022
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.

2 participants