Resolve "(File Drop Mode) : File sent from the user in file drop mode is not received by another user"
This commit is contained in:
parent
d718ee06b8
commit
48cb13c82b
8 changed files with 68 additions and 18 deletions
|
|
@ -117,22 +117,10 @@ export default {
|
|||
},
|
||||
|
||||
onLeaveRoom() {
|
||||
const lastRoom = this.onlyJoinedToThisRoom();
|
||||
//this.$matrix.matrixClient.forget(this.room.roomId, true, undefined)
|
||||
const roomId = this.room.roomId;
|
||||
this.$matrix
|
||||
.leaveRoom(roomId)
|
||||
this.$matrix.leaveRoomAndNavigate(this.room.roomId)
|
||||
.then(() => {
|
||||
this.showDialog = false;
|
||||
console.log("Left room");
|
||||
if (lastRoom) {
|
||||
this.$navigation.push({ name: "Goodbye" }, -1);
|
||||
} else {
|
||||
this.$navigation.push(
|
||||
{ name: "Home", params: { roomId: null } },
|
||||
-1
|
||||
);
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
console.log("Error leaving", err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue