Fix some warning and handle servers that don't support "m.thread" using old "io.element.thread"

This commit is contained in:
N-Pex 2024-06-25 17:43:44 +02:00
parent 23b69b5503
commit ecb4b1717b
2 changed files with 4 additions and 3 deletions

View file

@ -257,7 +257,7 @@
</span>
<v-switch v-if="currentImageInput && currentImageInput.scaled" :label="$t('message.scale_image')"
v-model="currentImageInput.useScaled" :disabled="currentImageInput.sendInfo" />
v-model="currentImageInput.useScaled" :disabled="currentImageInput && currentImageInput.sendInfo !== undefined" />
</div>
</div>
</v-card-text>
@ -283,7 +283,7 @@
{{ $t("menu.cancel") }}
</v-btn>
<v-btn id="btn-attachment-send" color="primary" text @click="sendAttachment(undefined)"
v-if="currentSendShowSendButton" :disabled="sendingStatus != sendStatuses.INITIAL">{{ $t("menu.send") }}</v-btn>
v-if="currentSendShowSendButton" :disabled="currentSendShowSendButton && sendingStatus != sendStatuses.INITIAL">{{ $t("menu.send") }}</v-btn>
</v-card-actions>
</template>
</v-card>