Merge pull request #4150 from matrix-org/travis/fix-cutoff

Fix the last char of people's names being cut off in the invite dialog
pull/21833/head
Travis Ralston 2020-03-02 09:59:51 -07:00 committed by GitHub
commit 680beb858e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ class DMRoomTile extends React.PureComponent {
}
// Push any text we missed (end of text)
if (i < (str.length - 1)) {
if (i < str.length) {
result.push(<span key={i + 'end'}>{str.substring(i)}</span>);
}