UX: Create new poll via modal

This commit is contained in:
10G Meow 2023-01-05 09:35:47 +00:00 committed by N Pex
parent b6ee49e5f9
commit ad7544a765
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