You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Comment guest access initial state
This commit is contained in:
@@ -382,6 +382,9 @@ module.exports = React.createClass({
|
|||||||
|
|
||||||
MatrixClientPeg.get().createRoom({
|
MatrixClientPeg.get().createRoom({
|
||||||
preset: "private_chat",
|
preset: "private_chat",
|
||||||
|
// Allow guests by default since the room is private and they'd
|
||||||
|
// need an invite. This means clicking on a 3pid invite email can
|
||||||
|
// actually drop you right in to a chat.
|
||||||
initial_state: [
|
initial_state: [
|
||||||
{
|
{
|
||||||
content: {
|
content: {
|
||||||
|
|||||||
Reference in New Issue
Block a user