fix: actually set in-dm to be true if in dm

This commit is contained in:
ThatOneCalculator 2022-11-14 20:28:07 -08:00
parent d55f2bd1d4
commit aaa8c8fec7
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.13.2",
"version": "12.119.0-calc.13.3",
"codename": "aqua",
"repository": {
"type": "git",

View file

@ -14,7 +14,7 @@
</div>
</div>
<div v-if="message.file" class="file" width="400px">
<XMediaList v-if="message.file.type.split('/')[0] == 'image' || message.file.type.split('/')[0] == 'video'" width="400px" :media-list="[message.file]" style="border-radius: 5px"/>
<XMediaList v-if="message.file.type.split('/')[0] == 'image' || message.file.type.split('/')[0] == 'video'" :in-dm="true" width="400px" :media-list="[message.file]" style="border-radius: 5px"/>
<a v-else :href="message.file.url" rel="noopener" target="_blank" :title="message.file.name">
<p>{{ message.file.name }}</p>
</a>