UX: Create new poll via modal
This commit is contained in:
parent
d318937348
commit
11dcc24859
5 changed files with 92 additions and 107 deletions
|
|
@ -77,7 +77,6 @@ export default {
|
|||
if (relatesTo && relatesTo['m.in_reply_to'])
|
||||
{
|
||||
const content = this.event.getContent();
|
||||
|
||||
const lines = content.body.split('\n').reverse();
|
||||
while (lines.length && !lines[0].startsWith('> ')) lines.shift();
|
||||
// Reply fallback has a blank line after it, so remove it to prevent leading newline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue