mirror of https://github.com/vector-im/riot-web
fix reply fallback blunder
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
7e8288f7ae
commit
941bb94234
|
@ -192,22 +192,22 @@ export default class ReplyThread extends React.Component {
|
||||||
case 'm.image':
|
case 'm.image':
|
||||||
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> <a href="${userLink}">${mxid}</a>`
|
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> <a href="${userLink}">${mxid}</a>`
|
||||||
+ `<br>sent an image.</blockquote>`;
|
+ `<br>sent an image.</blockquote>`;
|
||||||
body = `> <${mxid}> sent an image.\n\n${body}`;
|
body = `> <${mxid}> sent an image.\n\n`;
|
||||||
break;
|
break;
|
||||||
case 'm.video':
|
case 'm.video':
|
||||||
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> <a href="${userLink}">${mxid}</a>`
|
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> <a href="${userLink}">${mxid}</a>`
|
||||||
+ `<br>sent a video.</blockquote>`;
|
+ `<br>sent a video.</blockquote>`;
|
||||||
body = `> <${mxid}> sent a video.\n\n${body}`;
|
body = `> <${mxid}> sent a video.\n\n`;
|
||||||
break;
|
break;
|
||||||
case 'm.audio':
|
case 'm.audio':
|
||||||
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> <a href="${userLink}">${mxid}</a>`
|
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> <a href="${userLink}">${mxid}</a>`
|
||||||
+ `<br>sent an audio file.</blockquote>`;
|
+ `<br>sent an audio file.</blockquote>`;
|
||||||
body = `> <${mxid}> sent an audio file.\n\n${body}`;
|
body = `> <${mxid}> sent an audio file.\n\n`;
|
||||||
break;
|
break;
|
||||||
case 'm.file':
|
case 'm.file':
|
||||||
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> <a href="${userLink}">${mxid}</a>`
|
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> <a href="${userLink}">${mxid}</a>`
|
||||||
+ `<br>sent a file.</blockquote>`;
|
+ `<br>sent a file.</blockquote>`;
|
||||||
body = `> <${mxid}> sent a file.\n\n${body}`;
|
body = `> <${mxid}> sent a file.\n\n`;
|
||||||
break;
|
break;
|
||||||
case 'm.emote': {
|
case 'm.emote': {
|
||||||
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> * `
|
html = `<blockquote data-mx-reply><a href="${evLink}">In reply to</a> * `
|
||||||
|
|
Loading…
Reference in New Issue