when starting chat from memberinfo, allow guest access. in future synapse should make guest_access a default for the private_chat preset.

This commit is contained in:
Matthew Hodgson 2016-03-20 12:39:49 +00:00
parent 68a391e24b
commit bbd57f2bdf
2 changed files with 15 additions and 1 deletions

View file

@ -467,6 +467,7 @@ module.exports = React.createClass({
var Loader = sdk.getComponent("elements.Spinner");
var modal = Modal.createDialog(Loader);
// XXX: FIXME: deduplicate this with MemberInfo's 'start chat' impl
MatrixClientPeg.get().createRoom({
preset: "private_chat",
// Allow guests by default since the room is private and they'd