File Drop: Nix invite to join view
For issue #623. Generate auto join links for file drops.
This commit is contained in:
parent
1fd509ddad
commit
96d8058d0a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 roomTypeMixin from "./roomTypeMixin";
|
||||||
import roomRetentionMixin from "./roomRetentionMixin";
|
import roomRetentionMixin from "./roomRetentionMixin";
|
||||||
|
|
||||||
|
|
@ -69,7 +69,7 @@ export default {
|
||||||
this.room.roomId,
|
this.room.roomId,
|
||||||
this.room.name,
|
this.room.name,
|
||||||
utils.roomDisplayTypeToQueryParam(this.room, this.roomDisplayType),
|
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.roomJoinRule == "knock",
|
||||||
this.currentMirror
|
this.currentMirror
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue