UX: Create new poll via modal

This commit is contained in:
10G Meow 2023-01-05 09:35:47 +00:00 committed by n8fr8
parent d318937348
commit 11dcc24859
5 changed files with 92 additions and 107 deletions

View file

@ -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