Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 680beb8

Browse files
authored
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
2 parents 6ba9f78 + 7cfaa63 commit 680beb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/dialogs/InviteDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class DMRoomTile extends React.PureComponent {
219219
}
220220

221221
// Push any text we missed (end of text)
222-
if (i < (str.length - 1)) {
222+
if (i < str.length) {
223223
result.push(<span key={i + 'end'}>{str.substring(i)}</span>);
224224
}
225225

0 commit comments

Comments
 (0)