You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
comment typo
This commit is contained in:
@@ -27,7 +27,7 @@ function parseAtRoomMentions(text, partCreator) {
|
|||||||
if (textPart.length) {
|
if (textPart.length) {
|
||||||
parts.push(partCreator.plain(textPart));
|
parts.push(partCreator.plain(textPart));
|
||||||
}
|
}
|
||||||
// it's safe to never append @room after the last text
|
// it's safe to never append @room after the last textPart
|
||||||
// as split will report an empty string at the end if
|
// as split will report an empty string at the end if
|
||||||
// `text` ended in @room.
|
// `text` ended in @room.
|
||||||
const isLast = i === arr.length - 1;
|
const isLast = i === arr.length - 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user