Resolve "(File Drop Mode) : File sent from the user in file drop mode is not received by another user"

This commit is contained in:
N Pex 2023-08-01 10:14:10 +00:00
parent d718ee06b8
commit 48cb13c82b
8 changed files with 68 additions and 18 deletions

View file

@ -95,7 +95,8 @@
color="#4642F1"></v-progress-circular></v-btn>
</div>
<div v-else-if="status == mainStatuses.SENT" class="file-drop-sent-input-container">
<v-btn @click.stop="reset">{{ $t("file_mode.return_to_home") }}</v-btn>
<v-btn @click.stop="reset">{{ $t("file_mode.send_more_files") }}</v-btn>
<v-btn class="close" @click.stop="close">{{ $t("file_mode.close") }}</v-btn>
</div>
</div>
</template>
@ -211,6 +212,12 @@ export default {
this.messageInput = "";
this.currentItemIndex = 0;
},
close() {
this.$matrix.leaveRoomAndNavigate(this.room.roomId)
.catch((err) => {
console.log("Error leaving", err);
});
},
send() {
this.status = this.mainStatuses.SENDING;
this.sendInfo = this.attachments.map((attachment) => {