forked from mystiq/hydrogen-web
Add newline to message
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
fc3b391aa9
commit
17be7c4f4d
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ export class MessageBodyBuilder {
|
|||
const components = text.split("\n");
|
||||
components.slice(0, -1).forEach(t => {
|
||||
linkify(t, this.insert.bind(this));
|
||||
this.insertNewline();
|
||||
});
|
||||
const [last] = components.slice(-1);
|
||||
linkify(last, this.insert.bind(this));
|
||||
|
|
Loading…
Reference in a new issue