Fix bugs from typos from hackathon

pull/21833/head
Kegan Dougal 2015-11-06 09:57:22 +00:00
parent f5116fe026
commit b0e71c9872
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ module.exports = {
{ {
type: "m.room.join_rules", type: "m.room.join_rules",
content: { content: {
"join_rules": this.state.is_private ? "invite" : "public" "join_rule": this.state.is_private ? "invite" : "public"
} }
}, },
{ {
@ -107,7 +107,7 @@ module.exports = {
deferred = deferred.then(function(res) { deferred = deferred.then(function(res) {
response = res; response = res;
return encryption.enableEncryption( return encryption.enableEncryption(
cli, response.roomId, options.invite cli, response.room_id, options.invite
); );
}).then(function() { }).then(function() {
return q(response) } return q(response) }