From 96d8058d0a6ffbd0041fcf76ab9b5648075c73d7 Mon Sep 17 00:00:00 2001 From: N-Pex Date: Mon, 17 Nov 2025 11:17:07 +0100 Subject: [PATCH] File Drop: Nix invite to join view For issue #623. Generate auto join links for file drops. --- src/components/roomInfoMixin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/roomInfoMixin.js b/src/components/roomInfoMixin.js index 55a2a5c..a091f73 100644 --- a/src/components/roomInfoMixin.js +++ b/src/components/roomInfoMixin.js @@ -1,4 +1,4 @@ -import utils, { ROOM_TYPE_CHANNEL } from "../plugins/utils"; +import utils, { ROOM_TYPE_CHANNEL, ROOM_TYPE_FILE_MODE } from "../plugins/utils"; import roomTypeMixin from "./roomTypeMixin"; import roomRetentionMixin from "./roomRetentionMixin"; @@ -69,7 +69,7 @@ export default { this.room.roomId, this.room.name, utils.roomDisplayTypeToQueryParam(this.room, this.roomDisplayType), - this.roomDisplayType == ROOM_TYPE_CHANNEL, /* Auto join for channels */ + this.roomDisplayType == ROOM_TYPE_CHANNEL || this.roomDisplayType == ROOM_TYPE_FILE_MODE, /* Auto join for channels and file drops */ this.roomJoinRule == "knock", this.currentMirror );