Don't collapse any audio mentions, since we don't show them properly inline.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4035 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-11-12 03:11:46 +00:00
parent 1140c5ddc7
commit cdbc2d48f7
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ class TfMessageElement extends LitElement {
render_mentions() {
let mentions = this.message?.content?.mentions || [];
mentions = mentions.filter(x => this.message?.content?.text?.indexOf(x.link) === -1);
mentions = mentions.filter(x => x.name?.startsWith('audio:') || this.message?.content?.text?.indexOf(x.link) === -1);
if (mentions.length) {
let self = this;
return html`