cleanup
This commit is contained in:
parent
dd15a058ee
commit
f686929032
1 changed files with 0 additions and 2 deletions
|
|
@ -98,8 +98,6 @@ export default {
|
||||||
const relatesTo = this.event.getWireContent()["m.relates_to"];
|
const relatesTo = this.event.getWireContent()["m.relates_to"];
|
||||||
if (relatesTo && relatesTo["m.in_reply_to"]) {
|
if (relatesTo && relatesTo["m.in_reply_to"]) {
|
||||||
const content = this.event.getContent();
|
const content = this.event.getContent();
|
||||||
console.log('content')
|
|
||||||
console.log(content)
|
|
||||||
if ('body' in content) {
|
if ('body' in content) {
|
||||||
const lines = content.body.split("\n").reverse() || [];
|
const lines = content.body.split("\n").reverse() || [];
|
||||||
while (lines.length && !lines[0].startsWith("> ")) lines.shift();
|
while (lines.length && !lines[0].startsWith("> ")) lines.shift();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue