diff --git a/src/domain/session/room/timeline/MessageBody.js b/src/domain/session/room/timeline/MessageBody.js index de8fcc73..42f3c951 100644 --- a/src/domain/session/room/timeline/MessageBody.js +++ b/src/domain/session/room/timeline/MessageBody.js @@ -21,7 +21,7 @@ export function parsePlainBody(body) { for (let i = 0; i < lines.length; i += 1) { const line = lines[i]; if (line.length) { - linkify(lines[i], linkifyCallback); + linkify(line, linkifyCallback); } const isLastLine = i >= (lines.length - 1); if (!isLastLine) {